|
A |
access control lists 222, 226, 235
accessing
business logic 64
databases 142, 157
parameters 63
activating an entity bean 132
appInfo.ntv file 179
application events 241
application model 28, 30, 152
applications
designing user interface 43
generic 53
identifying requirements 37
partitioning 111
AppName section 181
AppPath 53
authenticating a user 230
|
B |
BasePath 53
batch updates
handling in JDBC 168
bean, see EJBs
bean tags 79
bookstore sample application 261
business logic layer 32
business rules 125
|
C |
CacheCriteria field 240
CallableStatement 168
cancel 164
class definition 119, 130
classes 35
class file 59
client tier 25
close( ) 247
code re-use 56
concurrency 165
configuration files 69, 175
configuring servlets 52
Connection.isClosed() 164
control descriptors 199
cookies 214
createMailbox( ) 246
creating
entity beans 134
servlets 59
session beans 119
|
D |
data access layer 33
databases
accessing from EJBs 113
accessing in servlets via rowsets 160
accessing through java.transaction.UserTransaction 157
accessing with JDBC 157
connection handling with JDBC 164
EJBs as the preferred interface to 157
JDBC rowset support for 171
portability access choices 157
databases supported by NAS 156
database transactions 124, 139
committing 140
committing in entity beans 124
distributed 169
database vendor limitations 153
data tier 26
DB2 156
deactivating an entity bean 132
declaring an EJB remote interface 120, 136
deploying servlets 54
deployment descriptor 194
design guidelines 44
destroy( ) 51, 61
destroying servlets 51
development team 39
DISPLAY tag 82
distributed transactions 34, 169
documentation 13
doGet( ) 51, 61
doPost( ) 51, 61
dynamic reloading 52, 279
|
E |
ejbActivate( ) 132
EJBContext 223
ejbCreate( ) 119, 131, 134
ejbFindByPrimaryKey( ) 131
EJBHome 121, 136
ejbLoad( ) 132
EJBObject 117, 118, 137
ejbPassivate( ) 132
ejbPostCreate( ) 131
EJBs 33
about 29
access control 204
accessing databases with through JDBC 157
accessing NAS value-added features from 122
client contract 106
component contract 106
container 104
database access from 113
defined 105
entity beans 109, 112, 128
granularity 126
in NAS applications 109
introduction to 103-114
jar file contract 107
partitioning guidelines 110
planning guidelines 111
property files 193
purpose of 104
remote interface 117, 118
sample application 270
session beans 108, 112, 115
stateful vs. stateless 122
transaction isolation level in 158
using JDBC in 157
using serialization 123, 139
EJB specification 20
ejbStore( ) 132
email 245
receiving 246
required servers 248
security 245
sending 248
Enterprise JavaBeans, see EJBs
entity beans 33, 109, 112, 128
accessing 129
accessing NAS 138
class definition for 130
committing transactions in 140
declaring a remote interface 136
descriptor 198
ejbActivate( ) 132
ejbCreate( ) 134
ejbLoad( ) 132
EJBObject 137
ejbPassivate( ) 132
ejbStore( ) 132
granularity 142
home interface 136
requirements for 130
events 241
examples
email, getting 247
email, sending 249
exception bean 89
EXCLUDEIF tag 85
executeBatch() 169
extensions, pre-built 33
|
F |
FindByPrimaryKey( ) 135
finder methods 135
format
URLs, in manual 19
forward( ) method 96
FORWARD-ONLY READ-ONLY result set 165
|
G |
generic applications 53
generic servlets 50, 55
getAppLogic() 238
getArray() 167
getBlob() 167
getCallerIdentity() 225, 230, 231
getClob() 167
getCreationTime() 216
getCursorName() 166
getId() 216
getLastAccessedTime() 216
getObject() 167
getRef() 167
getRemoteUser() 217
getRequestedSessionId() 217
getTypeMap 164
getValue() 218
getValueNames() 218
gxlogcli 284
|
H |
handling requests 51
home interface 121, 136
HttpServletRequest 215
HttpServletRequest2 238
HTTP servlets 50, 55
HttpSession 216
HttpSession2 220
|
I |
IAppEventMgr 242
IAppEventObj 242
ICallerContext 223
IContext 239
IMailbox 245
implementing a remote interface 120
include( ) method 95
INCLUDEIF tag 84
Informix 156
init( ) 51, 60
InitArgs section 190
instantiating servlets 51
interfaces 35
how to use 36
isAuthorized() 226
isCallerInRole() 226, 231
IServerContext 223, 239
isNew() 216
isRequestedSessionIdFromCookie() 217
isRequestedSessionIdFromURL() 217
isRequestedSessionIdValid() 217
|
J |
jar file 107
java.transaction.UserTransaction 157
managing transactions with 158
Java Database Connectivity, see JDBC
Java Development Kit, see JDK
Java Naming and Directory Interface, see JNDI
JDBC
1.0 support in NAS 153
2.0 support in NAS 153
about 29
application model diagram 152
batch updates 168
concurrency support 165
databases supported by NAS 156
database support 153
database vendor limitations 153
defined 152
distributed transactions 169
handling database connections 164
JNDI support in 173
managing transactions with 158
NASRowSet class 171
restricting databases access with to EJBs 157
result sets
updatable 165
rowsets 171
SCROLL-INSENSITIVE READ-ONLY result sets 165
servlet access via rowsets 160
SQL-2 support 154
SQL support 153
transactions, distributed 169
updating in batch mode 168
using in EJBs 157
using in servlets 157, 159-160
using rowset with servlets 160
JDK
JNDI
JDBC support for 173
using in JDBC 173
JSPs
about 29, 32, 75
bean tags 79
compared to servlets 55
designing 77
dynamic reloading 279
embedded Java code 90
examples 87
implicit beans 89
invoking with a URL 100
invoking with include( ) or forward( ) 101
script tags 90
JSP specification 20
|
L |
libraries 35
loading bean state information 132
loginSession() 220, 225, 231
looking up remote interfaces
LOOP tag 83
|
M |
messages, email 246
Microsoft SQLServer 156
|
N |
NAS
as part of multitier environment 24
databases supported by 156
documentation 13
NAS registry 53, 176
NASRowSet class 171
Netscape Application Builder 250
Netscape Application Server, see NAS
Netscape Directory Server 222
Netscape Extension Builder 34
NTV format 53, 69, 177
|
O |
ODBC 156
open( ) 246
Oracle 156
|
P |
passivating an entity bean 132
pooling servlets 52
PreparedStatement 167
presentation layer vs. logic 31
property files
datasources 210
editing 209
example 207
putValue() 218
|
R |
registry 53, 176
remote interface 117, 118, 136, 137
declaring 120
implementing 120
removeValue() 218
removing servlets 51
request bean 89
request object 51
resource allocation 52
response pages 67
restoring bean state information 132
result cache 187, 239
ResultSet 165
ResultSetMetaData 167
result sets
FORWARD-ONLY READ_ONLY 165
SCROLL-INSENSITIVE READ-ONLY 165
updatable 165
retrieve( ) 246
retrieveCount( ) 246
retrieveReset( ) 246
reusability 56
rowsets 171
in servlets 160
NASRowSet 171
|
S |
sample application 26, 261
script tags 90
security 63, 214, 222
authenticating a user 230
cookies 227
email 245
groups and roles 227
send( ) 248
serialization 139
of bean references 123
server-side includes 94
server tier 25
service( ) 51, 61
ServletContext 223
ServletData section 187, 240
servlet engine 50, 52, 187, 238
ServletFiles section 182
ServletRegistryInfo section 185
ServletRunnerInfo section 187
servlets
about 29, 31, 47
accessing databases with through JDBC 157
compared to JSPs 55
configuration 52
creating 59
deploying 54
designing 54, 56
destroying 51
directory structure 53
dynamic reloading 69, 183, 279
execution cycle 49
generic vs. HTTP 50, 55
initial parameters 190
instantiating 51
invoking from a servlet 72
invoking using a URL 71
metadata 187
non-standard 48
pooling 52
registry and ACL information 185
removing 51
request handling 51
sample application 269
standard vs. nonstandard 56
using JDBC in 159-160
using rowsets in 160
servlet specification 20
SessionBean interface 119
session beans 33, 108, 122
accessing NAS value-added features 122
creation guidelines 122
descriptor 196
granularity 126
stateful vs. stateless 116, 197
using 112
SessionInfo section 180
sessions 63, 180, 187, 214
invalidating 218
sharing with AppLogics 220
timeout 196
SessionSynchronization interface 120
setEntityContext( ) 134
SETFROMREQUEST tag 81
SETONCREATE tag 81
setSessionVisibility() 220
setTransactionIsolationLevel 164
setTypeMap 164
specifications 20
SQL
support for in JDBC 154
standard APIs 25, 273
Statement class 169
storing bean state information 132
storing data 63
Sybase 156
|
T |
tags
DISPLAY 82
EXCLUDEIF 85
INCLUDEIF 84
LOOP 83
SETFROMREQUEST 81
SETONCREATE 81
USEBEAN 80
thread safety 65
tier
client 25
data 26
server 25
transactions 124, 139
committing 140
committing in entity beans 124
distributed 34, 169
isolation level 158
TX_BEAN_MANAGED 147, 158, 201
TX_MANDATORY 147, 201
TX_NOT_SUPPORTED 147, 201
TX_REQUIRED 147, 201
TX_REQUIRES_NEW 147, 201
|
U |
unsetEntityContext( ) 134
updates, batch mode 168
URLs
format, in manual 19
USEBEAN tag 80
user interface 43
using JNDI 173
|
V |
value-added NAS features 138
|
W |
Web Connector 283
|
|
|