|
BEA WebLogic Server Enterprise JavaBeans
1. EJB Features and Changes in WebLogic Server Version 5.1
Application assembly support in DeployerTool
Full JNDI support for EJB environment
Improved manageability for multiple persistence types
WebLogic Query Language (WLQL) supports embedded Java
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
orderBy not supported in WebLogic Query Language
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. Upgrading EJBs to WebLogic Server Version 5.1
Compiled classes and interfaces
Step 1: Convert the text deployment descriptor
Step 2: Package EJB Classes and Interfaces
Step 3: Edit deployment properties and check compliance
3. 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 cache strategy for entity EJBs
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)
Using Java Expressions in WLQL
4. 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
5. Deploying EJBs in WebLogic Server
Required steps for deploying EJBs
Generating EJB container classes
Loading EJB classes into WebLogic Server
Overview of WebLogic Server classloading
Deploying EJBs in a running WebLogic Server (Hot Deployment)
Hot deploy concepts and restrictions
6. Deploying EJBs with DeployerTool
WebLogic Server deployment files
Setting up DeployerTool servers and preferences
Editing WebLogic Server connections
Changing DeployerTool preferences
Working with EJB deployment units
Viewing the contents of a .jar
Setting .jar file display properties
Configuring basic EJB properties
Setting method transaction attributes
Default method permissions in WebLogic Server
Adding, removing, and changing environment entries
Configuring WebLogic Server deployment properties
Setting cache and performance properties
Mapping application roles to WebLogic Server principals
Mapping resource factory references
Configuring persistence properties for entity EJBs
Configuring container-managed fields
Configuring WebLogic Server RDBMS-based persistence
Specifying the table and connection for RDBMS operations
Mapping container-managed fields to database columns
Editing EJB finder method expressions
Validating deployment properties
Checking for compliance with EJB 1.1
Compiling EJB container classes
Deploying .jar files to WebLogic Server
7. WebLogic Server EJB Reference
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.
|