Index
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
X
Symbols
- <application> element, 2-14
- <ejb> element, 2-11
- <ejb-link> element, 6-18
- <ejb-location> element, 4-11
- <ejb-mapping> element, 6-18
- <ejb-name> element, 6-18
- <ejb-ref> element, 6-18
- <ejb-ref-mapping> element, 6-18
- <ejb-ref-name> element, 6-18, 6-19
- <ejb-ref-type> element, 6-18
- <entity-deployment> element, 6-9, 6-11
- <env-entry> element, 6-14
- <env-entry-name> element, 6-14
- <env-entry-type> element, 6-14
- <env-entry-value> element, 6-14
- <home> element, 6-18
- <java> element, 2-11
- <jndi-name> element, 6-18, 6-22, 6-25
- <mapping> element, 6-18, 6-22, 6-25
- <max-tx-retries> element, 6-10
- <message-driven> element, 5-5
- <method-permission> element, 6-26
- <module> element, 2-11
- <persistence-type> element, 4-10
- <prim-key-class> element, 3-8, 4-4
- <remote> element, 6-18
- <res-auth> element, 6-23, 6-25
- <resource-ref> element, 4-10
- <resource-ref-mapping> element, 6-22, 6-25
- <res-ref-name> element, 6-22, 6-25
- <res-type> element, 6-23, 6-25
- <role-link> element, 6-26
- <role-name> element, 6-26
- <security-role> element, 6-26
- <security-role-mapping> element, 6-29
- <security-role-ref> element, 6-26
- <web> element, 2-11
A
- AC4J, 8-1 to 8-39
- Active Components for Java, see AC4J
- admin.jar command, 2-13
- application.xml file, 2-11, 5-2
- example, 2-12
- overview, 2-11, 4-3
- archiving
- directions, 2-11
- EAR file, 2-12
- EJBs, 2-10
B
- bean
- accessing remotely, 1-2
- activation, 1-6
- creating, 2-3, 3-2
- environment, 1-8
- implementation, 2-6
- interface, 1-2
- overview, 1-1
- passivation, 1-6
- removal, 2-7
- steps for invocation, 1-3
- bean-managed persistent, see BMP
- BMP
- create database tables, 4-11
- creation process, 4-2
- defined, 4-1
- deployment descriptor, 4-10
- ejbCreate implementation, 4-3
- home and remote interfaces, 4-3
- implementation details, 4-3
- persistence, 1-14
C
- clustering, 7-1 to 7-9
- concurrency mode effect, 6-12
- deploying application to all nodes, 7-8
- CMP
- overview, 1-15
- persistence update configuration, 6-14
- concurrency modes, 6-8
- clustering, 6-12
- connection
- dedicated, 6-6
- context
- session, 1-8
- transaction, 1-8
- create method, 2-7, 3-2, 3-3, 4-2
- EJBHome interface, 1-3, 2-4
- CreateException, 2-4
D
- DataSource object, 6-20
- data-sources.xml file, 4-11
- deadlock
- recovery, 6-32
- dedicated.connection property, 6-6
- deployment
- command-line tool, 2-13
- deployment descriptor, 1-3, 2-9, 3-2
- BMP, 4-3, 4-10
- EJB reference, 6-15
- entity bean, 3-10
- environment variables, 6-14
- JDBC DataSource, 6-19
- MDB, 5-2
- security, 6-26, 6-29
- disable-wrapper-cache attribute, 6-13
- DTD file, 2-10
- dynamic cluster discovery, 7-3
E
- EAR file, 2-1
- creation, 2-12
- EJB
- archive, 2-10
- clustering, 7-1 to 7-9
- creating, 2-2, 2-3, 2-6, 3-2
- deployment, 2-13
- command-line tool, 2-13
- manual, 2-14
- deployment descriptor, 2-9
- development suggestions, 2-2
- difference between session and entity, 1-19
- home interface, 2-4
- JAR file, 3-2, 4-3, 5-2
- overview, 1-1
- parameter passing, 1-4
- remote interface, 2-5
- replication, 7-7
- setting pool size, 6-12
- ejbActivate method, 1-6, 1-13, 4-2, 4-9
- EJBContext interface, 1-7
- ejbCreate method, 1-12, 1-13, 1-15, 2-4, 3-2, 4-2, 4-3
- initializing primary key, 4-3
- MDB, 5-2
- SessionBean interface, 1-6
- EJBException, 2-4, 2-5
- ejbFindByPrimaryKey method, 1-15, 3-2, 4-2, 4-3, 4-6
- EJBHome interface, 2-3, 2-4, 3-2
- create method, 3-2, 3-3, 4-2
- findByPrimaryKey method, 3-2, 3-3, 4-2
- ejb-jar.xml file, 2-9, 4-10
- ejbLoad method, 1-12, 1-14, 1-15, 1-16, 4-2, 4-8
- EJBObject interface, 2-3, 2-5, 3-2, 3-4, 4-2
- ejbPassivate method, 1-6, 1-13, 4-2, 4-9
- ejbPostCreate method, 1-12, 1-15, 3-2, 4-2
- ejbRemove method, 1-6, 1-12, 1-14, 1-15, 4-10
- MDB, 5-2
- ejbStore method, 1-12, 1-14, 1-15, 4-2, 4-8
- Enterprise Archive file, see EAR file
- Enterprise Java Beans, see EJB
- entity bean
- class implementation, 3-4
- clustering, 7-4
- context information, 1-13
- creating, 1-13, 3-2, 3-3
- deploy, 3-10
- finder methods, 3-3, 4-3
- home interface, 3-3
- overview, 1-5, 1-10
- persistent data, 1-11, 1-14
- primary key, 1-11
- remote interface, 3-4
- removing, 1-14
- EntityBean interface, 1-4, 1-11, 1-15, 2-4, 3-2
- ejbActivate method, 1-13, 4-2
- ejbCreate method, 1-12, 1-13, 1-15
- ejbFindByPrimaryKey method, 1-15, 3-2, 4-2
- ejbLoad method, 1-12, 1-14, 1-15, 1-16, 4-2
- ejbPassivate method, 1-13, 4-2
- ejbPostCreate method, 1-12
- ejbRemove method, 1-12, 1-14, 1-15
- ejbStore method, 1-12, 1-14, 1-15, 4-2
- setEntityContext method, 1-12, 1-13, 1-16
- unsetEntityContext method, 1-13
- environment references
- URL, 6-24
- environment, retrieval, 1-8
- exclusive-write-access attribute, 6-11
F
- findByPrimaryKey method, 3-2, 4-2
- finder methods, 4-3
- BMP, 4-7
- entity bean, 3-3
- findByPrimaryKey method, 3-3
G
- getEJBHome method, 1-8
- getEnvironment method, 1-8
- getRollbackOnly method, 1-8
- getUserTransaction method, 1-8
H
- home interface
- creating, 2-3, 2-7, 3-2, 4-2
- example, 2-5
- lookup, 2-7
- overview, 1-2, 1-3
I
- isolation attribute, 6-9
- isolation modes, 6-8
J
- JAR
- archiving command, 2-11
- jar command, 2-11
- JAR file, 3-2, 4-3, 5-2
- EJB, 2-10
- Java mail
- Session object, 6-21
- JMS
- handled by MDB, 1-17
- jms.xml file, 5-2
- JNDI
- dedicated connection, 6-6
- lookup, 2-7
L
- load balancing, 7-9
- LoadBalanceOnLookup property, 7-9
- locking-mode attribute, 6-11
M
- mail
- Session object, 6-21
- max-instances attribute, 6-13
- max-instances-per-pk attribute, 6-13
- MDB
- configuration, 5-4
- creation, 5-2
- deployment descriptor, 5-2
- overview, 1-5, 1-17, 5-1
- queue, 5-2
- topic, 5-2
- Message-Driven Beans, see MDB
- MessageDrivenBean interface, 1-18, 5-2
- setMessageDrivenContext method, 5-2
- MessageListener interface, 1-18, 5-2
- onMessage method, 5-2
- min-instances attribute, 6-13
- min-instances-per-pk attribute, 6-13
N
- narrowing, 2-7
O
- onMessage method, 1-18, 5-2
- optimisitic concurrency mode, 6-10
- optimistic concurrency mode, A-14
- ORA-8177 exception, 6-12
P
- parameters
- object types, 1-5
- passing conventions, 1-4
- pass by reference, 1-4
- pass by value, 1-4
- persistence
- bean-managed, 1-14
- container-managed, 1-15
- container-managed vs. bean-managed, 1-16
- create database tables, 4-11
- data management, 1-13
- field modification, 6-14
- managing, 3-2
- managing in BMP, 4-2
- overview, 1-11
- pessimistic concurrency mode, A-14
- pessimistic conncurrency mode, 6-10
- pool
- setting size, 6-12
- PortableRemoteObject
- narrow method, 2-7
- primary key, 3-2, 4-2
- complex class, 4-5
- complex definition, 4-4
- creating, 4-3
- entity bean, 1-15, 3-8
- management, 1-13
- overview, 1-11, 3-8
- simple definition, 4-4
Q
- queue
- MDB, 5-2
R
- read-only concurrency mode, 6-10, A-14
- remote interface
- business methods, 2-7
- creating, 2-3, 2-5, 3-2, 4-2
- example, 2-6
- overview, 1-2, 1-3
- RemoteException, 2-4, 2-5
- remove method, 2-7
- EJBHome interface, 1-3
S
- Serializable interface, 1-5
- server.xml file, 2-14
- session bean
- class implementation, 1-4
- context, 1-6
- home interface, 2-5
- methods, 1-6
- overview, 1-5
- removing, 1-6
- stateful, 1-2, 1-9
- stateless, 1-2, 1-8
- Session object, 6-21
- SessionBean interface, 1-4
- EJB, 1-6, 2-4
- ejbActivate method, 1-6
- ejbCreate method, 1-6
- ejbPassivate method, 1-6
- ejbRemove method, 1-6
- setSessionContext method, 1-6
- SessionContext
- interface, 1-7
- setEntityContext method, 1-12, 1-13, 1-16
- setMessageDrivenContext method, 1-18, 5-2
- setRollbackOnly method, 1-8
- setSessionContext method, 1-6, 1-7, 1-13
- stateful session bean
- clustering, 7-4
- overview, 1-9
- stateless session bean
- clustering, 7-4
- overview, 1-8
- static cluster discovery, 7-2
T
- topic
- MDB, 5-2
- transaction
- commit, 1-8
- context propagation, 1-8
- retrieve status, 1-8
- rollback, 1-8
- TRANSACTION_READ_COMMITTED, 6-9
- TRANSACTION_SERIALIZABLE, 6-9
U
- unsetEntityContext method, 1-13, 1-16
- update-changed-fields-only attribute, 6-14
X
- XML
- BMP, 4-10
- deployment descriptor, 3-2, 4-3