Symbols
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| O
| P
| Q
| R
| S
| T
| U
| V
| W
| X
| Y
| Z
Index: E
- e-commerce
- firewall problems, overcoming with HTTP: 11.3 Web Components and EJB
- web components, providing platform for: 11.3 Web Components and EJB
- EAR files (see Enterprise Archive files)
- ejb-class element: 2.1.2.2 EJB 1.1: Deployment descriptors
- 10.5.1 Session and Entity Beans
- ejb-client-jar element: 10.4 The Descriptor's Body
- EJB DTD (Document Type Definition)
- elements in: 2.1.2.2 EJB 1.1: Deployment descriptors
- structuring XML deployment descriptors: 2.1.2.2 EJB 1.1: Deployment descriptors
- EJB (Enterprise JavaBeans): 1.6.2 EJB and CORBA CTMs
- 1.6.3 Benefits of a Standard Server-Side Component Model
- API: A. The Enterprise JavaBeans API
- javax.ejb package: A.1 Package: javax.ejb
- javax.ejb.deployment package: A.2 Package: javax.ejb.deployment (EJB 1.0 Only)
- architecture: 2. Architectural Overview
- client view: 3.2.4 Distributed Objects
- 5. The Client View
- client-side API: 5.2 The EJB Client-Side API
- CTMs, choosing for: 1.5.3 CTMs: The Hybrid of ORBs and TP Monitors
- declarative transactional management: 8.2 Declarative Transaction Management
- definitions of: 1.2 Enterprise JavaBeans: Defined
- deployment descriptors: 4.2.9.2 EJB 1.0 deployment tools
- (see also deployment descriptors)
- Version 1.1: 2.1.2.2 EJB 1.1: Deployment descriptors
- design strategies: 9. Design Strategies
- duplicate records: 7.3.1.5 Why use a Reservation entity bean?
- implementation independence: 1. Introduction
- isolation levels: 8.3.3.2 EJB 1.0 transaction isolation control
- JAR files, contents of: 10.7 The ejb-jar File
- Java Transaction API (JTA): 8.5 Explicit Transaction Management
- JavaBeans vs.: 1.4 Component Models
- J2EE specification for interaction with web components: 11.3 Web Components and EJB
- packages, downloading from Sun Java site: 4.1.1 Setting Up Your Java IDE
- primary services
- cuncurrency: 3.2.1 Concurrency
- distributed objects: 3.2.4 Distributed Objects
- naming service: 3.2.5 Naming
- persistence: 3.2.3 Persistence
- security: 3.2.6 Security
- transactions: 3.2.2 Transactions
- resource management: 3. Resource Management and the Primary Services
- server-side component model, benefits of: 1.6.3 Benefits of a Standard Server-Side Component Model
- server transaction management: 8.2.4 Transaction Propagation
- Version 1.1, new features in: D. New Features in EJB 1.1
- web components and: 11.3 Web Components and EJB
- ejb-jar element: 2.1.2.2 EJB 1.1: Deployment descriptors
- 4.2.5 EJB 1.1: The Deployment Descriptor
- nesting other elements within: 10.4 The Descriptor's Body
- ejb-jar file: 10.7 The ejb-jar File
- ejb-jar.xml file: 4.2.7.1 EJB 1.1: Packaging the Cabin bean
- ejb-link element: 10.5.4 References to Other Beans
- ejb-name element: 2.1.2.2 EJB 1.1: Deployment descriptors
- 8.2.2.1 EJB 1.1: Setting a transaction attribute
- 10.5 Describing Beans
- 10.5.1 Session and Entity Beans
- 10.6.1 Specifying a Bean's Transactional Attributes
- in method element: 10.6.3 Identifying Specific Methods
- EJB object: 2.1.3 The Unseen Pieces
- 2.1.3.1 The EJB object
- 2.1.3.1 The EJB object
- bean entity, associating with: 6.1.7 The EntityContext
- concurrent access to: 3.2.1 Concurrency
- ejb10-properties subcontext: 7.1.2.8 EJB 1.1: EJBContext
- ejb-ref element: 4.3.4 EJB 1.1: TravelAgent Bean's Deployment Descriptor
- 10.5.1 Session and Entity Beans
- defining bean name in ENC: 7.3.1.4 TravelAgentBean: The bean class
- ejb-ref-name element: 4.3.4 EJB 1.1: TravelAgent Bean's Deployment Descriptor
- in env-ref element: 10.5.4 References to Other Beans
- ejb-ref-type element: 4.3.4 EJB 1.1: TravelAgent Bean's Deployment Descriptor
- in env-ref element: 10.5.4 References to Other Beans
- EJB-to-CORBA mapping: 3.2.4 Distributed Objects
- ejbActivate( ): 3.1.2 The Activation Mechanism
- 3.1.2 The Activation Mechanism
- 6.3.3.3 Transitioning from the Pooled state to the Ready State via activation
- 7.4.3 Passivated State
- EJBContext interface: 2.3 The Bean-Container Contract
- 3.1.1.2 Overview of state transitions
- 10.5.3 Environment Entries
- defining (EJB 1.1): 6.2.4 EJB 1.1: EJBContext
- EJB API: A.1.3 EJBContext
- rollback methods: 8.5.5 EJBContext Rollback Methods
- stateless session beans: 7.1.2.8 EJB 1.1: EJBContext
- UserTransaction object, obtaining: 8.5.1 Transaction Propagation in Bean-Managed Transactions
- ejbCreate( ): 4.2.4 CabinBean: The Bean Class
- adding entity to database: 6.2.7 The ejbCreate( ) Method
- bean class, stateful session beans: 7.3.1.4 TravelAgentBean: The bean class
- bean instance creation, sequence of events: 6.1.8.3 ejbCreate( ) and ejbPostCreate( ) sequence of events
- container-managed entity beans: 6.1.8 The Create Methods
- create( ), matching in home interface: 5.2.3.4 Creating and finding beans
- stateless session beans: 7.2.2.1 Transitioning to the Method-Ready Pool
- EJBException: 6.2.10 ejbFind( ) Methods
- in bean-managed persistence: 6.2.1 Making the ShipBean a Bean-Managed Entity
- checked subsystem exceptions, wrapping: 6.2.2 Exception Handling
- EJB callback methods and: 6.2.8 The ejbLoad( ) and ejbStore( ) Methods
- Version 1.1: A.1.4 EJBException (1.1)
- ejbFind( ): 6.2.10 ejbFind( ) Methods
- (see also find methods)
- entity beans with bean-managed persistence: 6.2.10 ejbFind( ) Methods
- EJBHome interface: 2.1.3 The Unseen Pieces
- 2.1.3.2 The EJB home
- 2.1.3.3 Deploying a bean
- 4.2.2 CabinHome: The Home Interface
- 5.2.2 EJB 1.1 and 1.0: The Java RMI Programming Model
- 5.2.2 EJB 1.1 and 1.0: The Java RMI Programming Model
- 5.2.3 The Home Interface
- 5.2.5.1 Getting the EJBHome
- A.1.5 EJBHome
- for EJB 1.1: 5.2.3 The Home Interface
- locating reference to with JNDI: 3.2.5 Naming
- reference to: 4.3.3.1 EJB 1.1: TravelAgentBean
- 4.3.3.2 EJB 1.0: TravelAgentBean
- stateless session bean: 7.1.2.5 ProcessPaymentHome: The home interface
- transactional attributes for remove methods: 10.6.1 Specifying a Bean's Transactional Attributes
- ejbLoad( ): 2.3 The Bean-Container Contract
- 6.1.8.4 Using ejbLoad( ) and ejbStore( ) in container-managed beans
- 6.2.8 The ejbLoad( ) and ejbStore( ) Methods
- 6.3.3.3 Transitioning from the Pooled state to the Ready State via activation
- bean-managed persistence, use in: 6.2.8 The ejbLoad( ) and ejbStore( ) Methods
- Ready state and: 6.3.4 Life in the Ready State
- EJBMetaData interface: 5.2.2.2 EJB 1.1: Explicit narrowing using PortableRemoteObject
- 5.2.3.2 Bean metadata
- EJB API: A.1.6 EJBMetaData
- session beans: 7.1.2.5 ProcessPaymentHome: The home interface
- EJBObject interface: 5.2.2 EJB 1.1 and 1.0: The Java RMI Programming Model
- 5.2.2 EJB 1.1 and 1.0: The Java RMI Programming Model
- defining, client-side API: 5.2.5 EJBObject, Handle, and Primary Key
- disassociating instances from: 3.1.2 The Activation Mechanism
- EJB API: A.1.7 EJBObject
- HomeHandle object, retrieving: 5.2.3.3 EJB 1.1: The HomeHandle
- implementation strategies: 2.1.3.1 The EJB object
- transactional attributes for remove methods: 10.6.1 Specifying a Bean's Transactional Attributes
- ejbPassivate( ): 3.1.2 The Activation Mechanism
- 3.1.2 The Activation Mechanism
- 6.3.3.5 Transitioning from the Ready State to the Pooled state via removal
- closing JNDI context: 7.3.1.4 TravelAgentBean: The bean class
- ejbPostCreate( )
- bean instance creation, sequence of events: 6.1.8.3 ejbCreate( ) and ejbPostCreate( ) sequence of events
- container-managed entity beans: 6.1.8.2 ejbPostCreate( )
- entity beans, creating: 6.3.3.1 Transitioning from the Pooled state to the Ready State via creation
- ejbPostCreate( ) (EJBHome): 4.2.4 CabinBean: The Bean Class
- ejbRemove( ): 6.3.3.5 Transitioning from the Ready State to the Pooled state via removal
- removing bean-managed entities with: 6.2.9 The ejbRemove( ) Method
- stateless session beans, closing open connections: 7.2.2.1 Transitioning to the Method-Ready Pool
- ejbStore( ): 2.3 The Bean-Container Contract
- 6.1.8.4 Using ejbLoad( ) and ejbStore( ) in container-managed beans
- bean-managed persistence, use in: 6.2.8 The ejbLoad( ) and ejbStore( ) Methods
- defining: 6.2.8 The ejbLoad( ) and ejbStore( ) Methods
- Ready state and: 6.3.4 Life in the Ready State
- elements
- EJB DTD for XML-based deployment descriptors: 2.1.2.2 EJB 1.1: Deployment descriptors
- tagging in XML document: 4.2.5 EJB 1.1: The Deployment Descriptor
- XML deployment descriptor: 10.4 The Descriptor's Body
- encapsulation
- business logic into business objects: 1.1.2 Server-Side Components
- primary key data: 5.2.5.2 Primary key
- 10.5.2 Specifying Primary Keys
- workflow, in stateful session beans: 7.3 The Stateful Session Bean
- Enterprise Archive (EAR) files: 11.4 J2EE Fills in the Gaps
- contents of: 11.4 J2EE Fills in the Gaps
- enterprise-bean element: 10.5 Describing Beans
- enterprise beans: 2.1 The Enterprise Bean Component
- 2.1.1 Classes and Interfaces
- 2.1.3.3 Deploying a bean
- accessing from client application: 4.2.10 Creating a Client Application
- adding to containers: 2.1.3.3 Deploying a bean
- authentication, performing explicitly: 6.2.6.1 EJB 1.1: Using JDBC in EJB
- classes and interfaces: 2.1.1 Classes and Interfaces
- 2.1.1.5 What about session beans?
- containers and: 2.3 The Bean-Container Contract
- developing your first: 4.1 Choosing and Setting Up an EJB Server
- interacting with other beans: 4.3.3.1 EJB 1.1: TravelAgentBean
- 4.3.3.2 EJB 1.0: TravelAgentBean
- using (Titan Cruises example): 2.2 Using Enterprise Beans
- enterprise-beans element: 2.1.2.2 EJB 1.1: Deployment descriptors
- 4.2.5 EJB 1.1: The Deployment Descriptor
- 10.4 The Descriptor's Body
- Enterprise JavaBeans (see EJB)
- Enterprise Resource Planing (ERP) systems, indexing objects to databases: 6.1.2.3 EJB 1.1: Undefined primary keys
- EnterpriseBean interface: A.1.8 EnterpriseBean
- entity beans: 6. Entity Beans
- 10.5.1 Session and Entity Beans
- (see also entity elements)
- as fields within other beans: 9.7.2 Complex Entity Relationships
- 9.7.2.3 Native Java persistence
- database mapping: 9.7.2.1 One-to-many database mapping
- 9.7.2.3 Native Java persistence
- bean class, developing (example): 4.2.4 CabinBean: The Bean Class
- bean-managed persistence: 6.2 Bean-Managed Persistence
- adding to database with ejbCreate( ): 6.2.7 The ejbCreate( ) Method
- connections to database, obtaining: 6.2.6 Obtaining a Connection to the Database
- defining (example): 6.2.1 Making the ShipBean a Bean-Managed Entity
- deployment: 6.2.11 EJB 1.1: Deploying the Bean-Managed Ship Bean
- find methods: 6.2.10 ejbFind( ) Methods
- removing from database: 6.2.9 The ejbRemove( ) Method
- synchronization with database: 6.2.8 The ejbLoad( ) and ejbStore( ) Methods
- client application, using: 7.3.1.5 Why use a Reservation entity bean?
- code, downloading from O'Reilly web site: 7.1.1 Downloading the Missing Pieces
- concurrency: 3.2.1 Concurrency
- container-managed persistence: 6.1 Container-Managed Persistence
- bean class: 6.1.5 The ShipBean Class
- client application, creating: 6.1.9 The Client Application
- deployment descriptors (EJB 1.1): 6.1.8.5 EJB 1.1: Deploying the ShipBean
- ejbLoad( ) and ejbStore( ), using in: 6.1.8.4 Using ejbLoad( ) and ejbStore( ) in container-managed beans
- EntityBean interface, implementing: 6.1.6 Implementing the javax.ejb.EntityBean Interface
- home interface: 6.1.3 The Home Interface
- primary key: 6.1.2 The Primary Key
- 6.1.2.3 EJB 1.1: Undefined primary keys
- 10.5.2.1 Deferring primary key definition
- remote interface, defining: 6.1.1 The Remote Interface
- sequence diagrams: B.1.2 quence Diagrams for Container-Managed Persistence
- container-transaction element declarations: 10.6 Describing Bean Assembly
- dependent classes vs.: 7.1.2.3 Dependent classes: The CreditCard and Check classes
- developing (example): 4.2 Developing an Entity Bean
- client application, creating: 4.2.10 Creating a Client Application
- deployment: 4.2.9 Deploying the Cabin Bean
- deployment descriptor (EJB 1.0): 4.2.6 EJB 1.0: The Deployment Descriptor
- deployment descriptor (XML): 4.2.4 CabinBean: The Bean Class
- home interface: 4.2.2 CabinHome: The Home Interface
- JAR files: 4.2.7 cabin.jar: The JAR File
- primary key: 4.2.3 CabinPK: The Primary Key
- remote interface: 4.2.1 Cabin: The Remote Interface
- direct database access vs.: 6. Entity Beans
- EJB 1.1, new features for: D.1 Entity Beans
- getting information from: 2.2.1 Getting Information from an Entity Bean
- handles, implementation of: 5.2.6 Inside the Handle
- life cycle: 3.1.1.1 The entity bean life cycle
- 6.3 The Life Cycle of an Entity Bean
- ending: 6.3.5 End of the Life Cycle
- Ready state: 6.3.3 The Ready State
- 6.3.4 Life in the Ready State
- state diagram: B.1 Entity Beans
- transitions in states: 3.1.1.2 Overview of state transitions
- transitions to/from Pooled to Ready state: 6.3.3.1 Transitioning from the Pooled state to the Ready State via creation
- listing behavior vs.: 7.3.1.6 listAvailableCabins( ): Listing behavior
- 9.3.2 Resource Consumption
- mapping to databases: 4.2.8 Creating a CABIN Table in the Database
- 4.2.9.2 EJB 1.0 deployment tools
- methods requiring transaction attributes: 10.6.1 Specifying a Bean's Transactional Attributes
- modeling business concepts: 2.1 The Enterprise Bean Component
- 6. Entity Beans
- nonreentrance policy: 3.2.1.1 Reentrance
- object serialization and: 3.1.2 The Activation Mechanism
- operations allowed for: B.1.3 Sequence Diagrams for Bean-Managed Persistence
- persistence: 3.2.3 Persistence
- 6. Entity Beans
- persistent fields, manipulating with bulk accessors: 9.2.3 Bulk Accessors
- primary key: 5.2.5.2 Primary key
- 5.2.5.2 Primary key
- 6.1.2.2 Single-field key
- properties, defining as business concept: 6.1.1.1 Set and get methods
- relationships: 9.7 Entity Bean Relationships
- remove methods: 5.2.3.1 Removing beans
- removing: 5.2.3.1 Removing beans
- 5.2.5.4 Removing beans
- runAs Identity: 3.2.6.2 EJB 1.0: Method-driven access control
- servers, not supporting: 9.9 When Entity Beans Are Not an Option
- session beans, emulating: 9.9.1 Emulating Entity Beans with Session Beans
- session beans vs.: 2.2.2 Modeling Workflow with Session Beans
- 7. Session Beans
- 7.3.1.5 Why use a Reservation entity bean?
- 9.3.3 Striking a Balance
- simple relationships: 9.7.1 Simple Associations
- 9.7.1.5 Native Java persistence
- byte arrays and Java serialization: 9.7.1.2 Mapping serializable to VARBINARY
- handles: 9.7.1.4 Preserving the handle
- native Java persistence: 9.7.1.5 Native Java persistence
- state (see life cycle)
- UserTransaction transactions (EJB 1.0): 8.5.1 Transaction Propagation in Bean-Managed Transactions
- without create methods: 9.6 Entity Beans Without Create Methods
- entity context methods in bean class: 4.2.4 CabinBean: The Bean Class
- entity elements: 2.1.2.2 EJB 1.1: Deployment descriptors
- 4.2.5 EJB 1.1: The Deployment Descriptor
- 10.5 Describing Beans
- 10.5 Describing Beans
- entity objects
- network traffic (impact of overuse): 9.3.1 Network Traffic and Latency
- passing by value: 9.2.4 Entity Objects
- 9.2.4 Entity Objects
- (see also passing objects by value)
- EntityBean interface: 2.3 The Bean-Container Contract
- 4.2.4 CabinBean: The Bean Class
- 6.1.6 Implementing the javax.ejb.EntityBean Interface
- 6.3 The Life Cycle of an Entity Bean
- callback methods defined in: 2.1.1.3 The bean class
- EJB API: A.1.9 EntityBean
- implementing in container-managed beans: 6.1.6 Implementing the javax.ejb.EntityBean Interface
- EntityContext interface: 2.3 The Bean-Container Contract
- 4.2.4 CabinBean: The Bean Class
- 6.1.7 The EntityContext
- 6.3.2 The Pooled State
- defining: 6.2.3 EntityContext
- EJB API: A.1.10 EntityContext
- getPrimaryKey( ): 6.2.3 EntityContext
- primary key, obtaining from: 6.2.8 The ejbLoad( ) and ejbStore( ) Methods
- Ready state and: 3.1.1.2 Overview of state transitions
- EntityDescriptor class: 2.1.2.1 EJB 1.0: Deployment descriptors
- 4.2.6 EJB 1.0: The Deployment Descriptor
- EJB API: A.2.4 EntityDescriptor
- serializing (example): 4.2.6 EJB 1.0: The Deployment Descriptor
- Enumeration type: 6.1.3.1 The find methods
- multi-entity find methods, returning: 6.2.1 Making the ShipBean a Bean-Managed Entity
- env-entry element: 10.5.1 Session and Entity Beans
- declaration example: 10.5.3 Environment Entries
- env-entry-name element: 10.5.3 Environment Entries
- env-entry-type, data types in: 10.5.3 Environment Entries
- environment naming context (JNDI ENC) (see under JNDI)
- environment properties: 6.2.5 EJB 1.0: EJBContext
- accessing, stateless session bean: 7.1.2.6 ProcessPaymentBean: The bean class
- EJB 1.1, new features for: D.4 The Default JNDI Context
- entity bean with bean-managed persistence, setting for: 6.2.12 EJB 1.0: Deploying the Bean-Managed Ship Bean
- vendor- and environment-specific information, defining at deployment: 6.2.6.2 EJB 1.0: Using JDBC in EJB
- equals( ) (Object): 5.2.5.3 Comparing beans for identity
- 6.1.2 The Primary Key
- equivalence, bean instances in instance pool: 3.1.1.2 Overview of state transitions
- events, notifying beans of: 2.1.1.3 The bean class
- exceptions
- bean class interfaces: 9.5.2 The Business Interface Alternative
- bean-managed entity beans, handling: 6.2.2 Exception Handling
- bean-managed transactions: 8.7.3 Bean-Managed Transactions
- checked or unchecked (in transactions): 8.7 EJB 1.0: Exceptions and Transactions
- home interface, stateless session beans: 7.1.2.5 ProcessPaymentHome: The home interface
- Java RMI: 6.1.4 Java RMI Return Types, Parameters, and Exceptions
- remote interface, stateless session beans: 7.1.2.2 ProcessPayment: The remote interface
- subsystem exceptions: 7.1.2.4 PaymentException: An application exception
- transactions: B.2.3 EJB 1.1: Interactions Between Exceptions and Transactions
- EJB 1.1: 8.6.1 Application Exceptions Versus System Exceptions
- exclusive write locks: 8.3.2 Database Locks
- executable software, server-side components as: 1.1.2 Server-Side Components
- explicit narrowing of remote references: 5.2.2.2 EJB 1.1: Explicit narrowing using PortableRemoteObject
- explicit transaction management: 8.2.3 Transaction Attributes Defined
- 8.5 Explicit Transaction Management
- 8.7 EJB 1.0: Exceptions and Transactions
- by beans: 8.5 Explicit Transaction Management
- Extensible Markup Language (see XML)
- external resources
- connections to: 6.2.6.1 EJB 1.1: Using JDBC in EJB
- JDBC URLs, obtaining for vendor-specific: 6.2.6.2 EJB 1.0: Using JDBC in EJB
Symbols
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| O
| P
| Q
| R
| S
| T
| U
| V
| W
| X
| Y
| Z
Copyright © 2001
O'Reilly & Associates, Inc.
All Rights Reserved.
|