|
Programming WebLogic Enterprise JavaBeans
Contents
1. EJB Features and Changes in WebLogic Server Version 6.0
Application assembly support in deploying EJBs
Full JNDI support for EJB environment
Improved manageability for multiple persistence types
is-modified-method-name support for bean-managed EJBs
New Java type support for multi-object finders
javax.ejb.deployment classes not used
Default transaction properties
Text descriptor to XML element mapping
.jar and directory deployment units
Unsupported deployment utilities
File-based persistence not supported
JDBC-based persistence renamed to RDBMS-based persistence
Primary key changes for container-managed EJBs
Simple and compound primary keys
Required changes for EJB 1.1 compliance
Updates for EJB classes and interfaces
EJBs using the UserTransaction interface
Deprecated methods from javax.ejb.EJBContext
2. WebLogic Server EJB Design and Development
Restrictions for accessing EJB instances
Storing EJB references in home handles
Using home handles across a firewall
Preserve transaction resources
Allow the datastore to manage transactions
Use container-managed transactions over bean-managed transactions
Never demarcate transactions from a client application
Use correct modeling for entity EJBs
Entity EJBs should be coarse-grained
Entity EJBs should contain business logic
Optimize entity EJB data access
Use isModified() where appropriate
What are message-driven beans?
Differences from standard JMS consumers
Differences from Stateless Session EJBs
Developing message-driven beans
Creating and removing bean instances
Using the message-driven bean context
Implementing business logic with onMessage()
Transaction Services for Message-driven Beans
Deploying Message-driven beans in WebLogic Server
4. The WebLogic Server EJB Container
EJB Lifecycle in WebLogic Server
Stateless session EJB lifecycle
Initializing and using EJB instances
Removing stateful session EJB instances
Stateful session EJB requirements
ejbLoad() and ejbStore() behavior for entity EJBs
Using db-is-shared to limit calls to ejbLoad()
Restrictions and warnings for db-is-shared
Using is-modified-method-name to limit calls to ejbStore()
Warning for is-modified-method-name
Using delay-updates-until-end-of-tx to change ejbStore() behavior
Setting the entity EJBs to read-only
EJBs in WebLogic Server Clusters
Transaction management responsibilities
Using javax.transaction.UserTransaction
Restriction for container-managed EJBs
Distributing transactions across multiple EJBs
Calling multiple EJBs from a single transaction context
Encapsulating a multi-operation transaction
Distributing transactions across EJBs in a WebLogic Server cluster
Limitations of TRANSACTION_SERIALIZABLE
Special note for Oracle Databases
Setting up JDBC datasource factories
Setting up URL connection factories
Setting up javax.mail.Session resources
Using WebLogic Server RDBMS Persistence
Writing Finders for RDBMS Persistence
Using WebLogic Query Language (WLQL)
Locking and Caching Services for Entity EJBs
In-memory Replication for Stateful Session EJBs
Requirements and Configuration
Home Method Support for Entity EJBs
5. 00WebLogic Server Container-Managed Persistence Services
EJB 2.0 Persistence Features and Changes
"get" and "set" method restrictions
EJB QL requirement for EJB 2.0 beans
isModified() not required for CMP beans
EJB QL conditional expressions
6. Deploying EJBs in WebLogic Server
Required steps for deploying EJBs
Generating EJB container classes
Loading EJB classes into WebLogic Server
Deploying EJBs in a running WebLogic Server (Dynamic Deployment)
Dynamic deploy concepts and restrictions
7. Deploying EJBs in the EJB Container
WebLogic Server deployment files
Automatic Deployment Directory
Deploying compiled EJB .jar files
Deploying uncompiled EJB .jar files
Deploying from an EJB .jar directory
8. WebLogic Server EJB Utililties
9. WebLogic Server 6.0 EJB Deployment Properties
Manually editing XML deployment files
Document Type Definitions (DTDs) for validation
weblogic-ejb-jar.xml properties
Index of WebLogic Server Deployment Elements
stateless-bean-call-router-class-name
stateless-bean-methods-are-idempotent
weblogic.cmp.rdbms.jar.xml properties
10. WebLogic Server 5.1 EJB Deployment Properties
Manually editing XML deployment files
Document Type Definitions (DTDs) for validation
weblogic-ejb-jar.xml Properties
weblogic-cmp-rdbms-jar.xml Properties
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|