Prev
|
Next
TOC
|
Index
J2EE
TM
Developer's Guide
Index
Index
A
Account.jsp
*
AccountBean
*
AccountEJB
*
*
*
adder.html
*
AdderEJB
*
AdderServlet
*
afterBegin
*
afterCompletion
*
ANYONE role
*
APPCPATH
*
Application Deployment Tool
about
*
command-line syntax
*
creating security roles
*
deploying J2EE applications
*
generating connect routines
*
generating SQL statements
*
iterative development
*
mapping roles to methods
*
mapping roles to users
*
online help
*
packaging enterprise beans
*
packaging web components
*
running
*
*
verifying components
*
wizards
See also New Application Client Wizard
See also New Enterprise Bean Wizard
See also New Web Component Wizard
applications
See J2EE applications
assembly
*
*
auth.properties
*
authentication
See security, authentication
B
BankEJB
*
basic authentication
*
bean-managed persistence
database connections for
*
defined
*
example
*
isolation level setting
*
primary key class for
*
bean-managed transactions
See transactions, bean-managed
beforeCompletion
*
begin method
*
business logic
*
*
business methods
client invocation
*
defined in remote interface
*
entity bean example
*
JavaBeans invocation
*
purpose of
*
ready stage invocation
*
session bean example
*
synchronization with database
*
*
*
transactions
*
*
*
*
C
CartEJB
*
certificates
See security, certificates
ClassCastException
*
classpath
*
*
*
*
cleanup script
*
client.policy
*
clients
about
*
*
compiling
*
controlling access
*
enterprise beans
*
example
*
*
*
*
*
*
J2EE application
*
*
*
*
*
*
*
*
jar file
*
*
*
*
JavaServer Pages
*
*
multiple
*
remote
*
*
*
runclient
See runclient script
running
*
security authentication
*
servlets
*
stand-alone Java applications
*
*
*
thin
*
unauthenticated access
*
wizard
See also New Application Client Wizard
Cloudscape
*
*
*
*
*
*
*
command line
component verification
*
deployment
*
packaging
*
commit method
*
*
*
compiling
*
*
*
*
*
ConfirmerEJB
*
connect method
*
Connection
*
*
*
container
See EJB container
See Web container
container-managed fields
*
*
container-managed persistence
database connections for
*
*
defined
*
*
example
*
primary key class for
*
container-managed transactions
See transactions, container-managed
Converter.jsp
*
ConverterEJB
*
CourseEJB
*
create method
*
*
*
*
*
*
create table (SQL)
*
*
CreateException
*
*
*
*
*
*
CustomerEJB
*
D
database
access with container-managed persistence
*
actual name
*
authentication
*
calls from entity bean
*
Cloudscape DBMS
See also Cloudscape
connections
about
*
class
See also Connection
code example
*
container-managed
*
duration
*
factory
*
JDBC connect
*
pooling
*
*
transaction
*
9entity beans access
*
isolation level
See transaction, isolation level
JNDI name
*
logical name
*
multiple
*
*
passwords
*
row as entity bean
*
session beans access of
*
statements automatically generated
*
supported
*
synchronizing with entity bean
*
synchronizing with session bean
*
table creation
*
*
*
table relationships
*
transactions
See also transactions
uncommited reads
*
URL
*
*
users
*
DataSource
*
*
default.properties
*
*
delete (SQL)
*
*
*
*
deployment descriptor
*
*
*
*
*
*
*
*
*
*
*
deployment process
*
*
*
*
*
*
*
*
*
deploytool
See Application Deployment Tool
development phases
*
*
directory service
See JNDI
Dorg.omg.CORBA.ORBInitialHost
*
*
DTD
*
DuplicateKeyException
*
E
ear
*
*
*
*
EJB
components
See enterprise beans
container
*
*
*
*
*
jar file
*
*
*
*
*
ejbActivate
*
*
*
EJBContext
*
*
*
*
ejbCreate
*
*
*
*
*
*
*
*
*
*
*
EJBException
*
*
*
*
*
*
ejbFind prefix
*
*
ejbFindByPrimaryKey
*
*
*
*
EJBHome
*
ejbLoad
*
*
*
*
*
*
*
EJBObject
*
*
*
ejbPassivate
*
*
*
*
ejbPostCreate
*
*
ejbRemove
*
*
*
*
*
*
*
*
ejbStore
*
*
*
*
email
*
enterprise beans
about
*
*
as clients of other beans
*
class
*
clients
*
*
comparison of session and entity
*
compiling
*
creating
See New Enterprise Bean Wizard
defined
*
development
*
EJB container holding
*
example
*
file access from
*
J2EE application containing
*
loading native libraries
*
method permissions
*
packaging
*
programming restrictions
*
security
*
See also security, authorization
sending email from
*
socket connections from
*
threading
*
entity beans
about
*
*
class
*
*
compared to each other
*
compared to session beans
*
context
*
database access from
*
database connections for
*
*
defined
*
finder methods
*
identity
*
object reference passing
*
persistence of
*
pool
*
shared by clients
*
table relationships
*
transactions
*
using for child table
*
using helper class instead
*
using with session beans
*
*
EntityBean
*
EntityContext
*
*
environment entries
*
examples
location
*
summary
*
exceptions
about
*
application
*
*
customized
*
ejbCreate throwing
*
ejbPostCreate throwing
*
ejbRemove throwing
*
email
*
finder methods throwing
*
list of
*
system
*
*
*
thrown from business methods
*
transactions
*
*
*
*
F
files
access prohibited
*
See also ear file
See also EJB, jar file
See also jar file
See also log files
See also war file
See also xml file
types in a J2EE application
*
findByPrimaryKey
*
*
*
finder methods
*
*
*
*
*
*
FinderException
*
*
*
firewall
*
foreign key
*
*
*
form-based authentication
*
G
garbage collection
*
getCallerPrincipal
*
getConnection
*
getEJBObject
*
*
getPrimaryKey
*
*
*
*
getRollbackOnly
*
getStatus
*
getUser
*
getUserPrincipal
*
getUserTransaction
*
guest
*
*
*
guest123
*
*
H
help
*
*
helper classes
*
*
*
home interface
defined
*
entity bean example
*
finder methods
*
for container-managed persistence
*
locating
*
session bean example
*
HTML
example
*
form
*
*
*
*
HTMLReaderEJB
*
HTTP
proxy port and host
*
separate VM for
*
service of J2EE
*
HTTPS
See security, HTTPS
I
ij utility
*
*
InitialContext
*
insert (SQL)
*
*
*
*
*
*
isCallerInRole
*
isIdentical
*
*
isolation level
See transactions, isolation level
isUserInRole
*
iteration
*
iterative development
*
J
J2EE
applications
assembly
*
contents of
*
creating
*
*
deployment
*
*
file types
*
modifying
*
overview
*
architecture
*
defined
*
determining version
*
SDK
*
*
*
*
server
*
*
*
*
*
*
*
*
*
transaction manager
See transactions, J2EE transaction manager
j2ee.jar
*
*
jar
*
*
*
*
*
*
*
*
*
*
*
*
*
Java Naming and Directory Interface
TM
See JNDI
Java Transaction API
See transactions, JTA
Java Transaction Service
See transactions, JTS
Java
TM
2 Enterprise Edition
See J2EE
JavaBeans
between JSP and EJB
*
compared to enterprise beans
*
compiling
*
example
*
specified in JSP tag
*
versus tag library
*
JavaServer Pages
client of enterprise bean
*
different approaches
*
example
*
*
home page
*
running
*
*
security scenario
*
tag library
*
JDBC
drivers and configuration
See the J2EE Configuration Guide
See also database
JNDI
client call
*
context
*
database name
*
*
*
enterprise bean name
*
*
*
*
lookup
See lookup method
mail session name
*
mapping names
*
*
naming context
*
service of J2EE
*
tag library usage
*
JSP
See JavaServer Pages
JTA
See transactions, JTA
JTS
See transactions, JTS
K
keytool utility
about
*
example
*
L
life cycle
entity beans
*
service of EJB container
*
session beans
*
LineItem
*
log files
location
See the J2EE Configuration Guide
redirecting
*
log on
*
*
lookup method
*
*
*
*
*
*
*
*
*
M
Mandatory attribute
See transactions, Mandatory attribute
many-to-many relationship
*
mapping roles to methods
*
Message object
*
MessagingException
*
method permissions
*
middle-tier
*
muliVM
*
N
name service
See JNDI
NameNotFoundException
*
NamingException
*
narrow method
*
native library
*
Never attribute
See transactions, Never attribute
New Application Client Wizard
*
New Enterprise Bean Wizard
*
*
*
*
New Web Component Wizard
*
*
NoClassDefFoundError
*
NoSuchEntityException
*
NotSupported attribute
See transactions, NotSupported attribute
O
ObjectNotFoundException
*
*
one-to-many relationship
*
one-to-one relationship
*
OrderEJB
*
P
packager tool
*
passivate
*
passwords
See database, passwords
See security, passwords
permissions
*
persistence
defined
*
See bean-managed persistence
See container-managed persistence
type determining database connections
*
pooled stage
*
prerequisite knowledge
*
primary key
argument of ejbFindByPrimaryKey
*
bean-managed persistence usage
*
class
*
composite
*
container-managed persitence usage
*
defined
*
getting
*
many-to-many relationship
*
one-to-many relationship
*
one-to-one relationships
*
returned by ejbCreate
*
setting
*
Principal object
*
principals
See security, users
printing this book
*
ProductEJB
*
*
*
R
ready stage
*
*
realm
See security, realm
realmtool utility
about
*
example
*
reference implementation
*
referential constraint
*
relationships
*
remote clients
*
*
*
remote interface
defined
*
entity bean example
*
for container-managed persistence
*
method definitions
*
session bean example
*
RemoteException
*
*
*
remove method
*
*
RemoveException
*
*
*
Required attribute
See transactions, Required attribute
RequiresNew attribute
See transactions, RequiresNew attribute
resource manager
*
roles
development
*
security
See security, roles
rollback method
*
*
*
*
RSA
*
runclient script
about
*
example
*
*
running the tools
*
runtime deployment descriptor
*
RuntimeException
*
S
SalesRepEJB
*
security
about
*
*
authentication
about
*
database
*
defined
*
service of J2EE
*
authorization
about
*
defined
*
bean-managed
*
certificates
*
*
*
*
*
client authentication
*
context
*
groups
*
*
*
*
HTTPS
*
*
J2EE application clients
*
*
mapping roles to users
*
method permissions
*
passwords
*
*
*
*
policy file
*
*
programmatic
*
protected resource
*
realm
*
*
roles
*
*
*
RSA
*
scenarios
*
service of EJB container
*
unauthenticated role
*
unauthenticated user
*
users
*
*
*
*
*
*
*
select (SQL)
*
*
*
*
*
*
*
sendNotice
*
*
server
See J2EE, server
server.policy
*
ServerSocket
*
servlets
clients
See clients, servlets
compiling
*
example
*
getting the role
*
getting the user
*
home page
*
running
*
session beans
about
*
*
class
*
compared to each other
*
compared to entity beans
*
database access from
*
database connections for
*
*
defined
*
example
*
life cycle
*
object reference passing
*
stateful
*
*
*
stateless
*
*
*
*
synchronizing state with database
*
transactions
*
using with entity beans
*
*
Session object
*
SessionBean
*
*
SessionContext
*
SessionSynchronization
*
setAutoCommit
*
*
setEntityContext
*
*
*
setRollbackOnly
*
*
*
setSessionContext
*
setTransactionIsolation
*
setTransactionTimeout
*
ShipperEJB
*
singleVM
*
Socket
*
sockets usage prohibited
*
SQLException
*
stand-alone Java application
See clients, stand-alone Java application
state management modes
*
stateful session beans
See session beans, stateful
stateless session bean
See session beans, stateless
StockEJB
*
StorageEJB
*
StudentEJB
*
Supports attribute
See transactions, Supports attribute
T
tag handler
*
tag library
*
TagExtraInfo
*
TellerEJB
*
threads
*
three-tier
*
tools
*
*
TransactionRequiredException
*
transactions
about
*
*
attributes
*
*
*
bean-managed
*
*
*
*
boundaries
*
*
*
*
commits
*
*
*
*
*
container-managed
*
*
*
DBMS transaction manager
*
*
defined
*
enabling shared access
*
enclosing database connections
*
enforcing table relationships
*
example
*
*
*
exceptions
See exceptions, transactions
if you're unsure about
*
isolation level
*
J2EE transaction manager
*
*
JDBC
*
*
*
*
JTA
*
*
*
*
JTS
*
Mandatory attribute
*
*
multiple databases
*
nested
*
*
Never attribute
*
*
NotSupported attribute
*
*
prohibited methods
*
*
Required attribute
*
*
RequiresNew attribute
*
*
rollbacks
*
*
*
*
*
*
*
*
*
service of EJB container
*
summary
*
Supports attribute
*
*
timeouts
*
Transport class
*
trouble-shooting
*
*
typographical conventions
*
U
unsetEntityContext
*
*
update (SQL)
*
*
*
URL
connecting to
*
database
See database, URL
JSP example
*
*
users
See database, users
See security, users
UserTransaction
*
*
*
*
utility classes
See helper classes
V
verifier
*
virtual machine
*
VMARGS
*
W
war file
*
*
*
*
*
*
*
*
WarehouseEJB
*
Web components
authentication of
*
contents of
*
development
*
example
*
*
*
packaging from command-line
*
within a J2EE application
*
Web container
*
Web context root
*
*
WidgetEJB
*
wizard
See New Application Client Wizard
See New Enterprise Bean Wizard
See New Web Component Wizard
X
X509 certificate
*
*
*
xml file
*
*
Prev
|
Next
TOC
|
Index
Copyright © 2000 Sun Microsystems, Inc. All rights reserved.