JBoss.org Community Documentation

Part III. Legacy EJB Support

Table of Contents

11. EJBs on JBoss
11.1. The EJB Client Side View
11.1.1. Specifying the EJB Proxy Configuration
11.2. The EJB Server Side View
11.2.1. Detached Invokers - The Transport Middlemen
11.2.2. The HA JRMPInvoker - Clustered RMI/JRMP Transport
11.2.3. The HA HttpInvoker - Clustered RMI/HTTP Transport
11.3. The EJB Container
11.3.1. EJBDeployer MBean
11.3.2. Container Plug-in Framework
11.4. Entity Bean Locking and Deadlock Detection
11.4.1. Why JBoss Needs Locking
11.4.2. Entity Bean Lifecycle
11.4.3. Default Locking Behavior
11.4.4. Pluggable Interceptors and Locking Policy
11.4.5. Deadlock
11.4.6. Advanced Configurations and Optimizations
11.4.7. Running Within a Cluster
11.4.8. Troubleshooting
11.5. EJB Timer Configuration
12. The CMP Engine
12.1. Example Code
12.1.1. Enabling CMP Debug Logging
12.1.2. Running the examples
12.2. The jbosscmp-jdbc Structure
12.3. Entity Beans
12.3.1. Entity Mapping
12.4. CMP Fields
12.4.1. CMP Field Declaration
12.4.2. CMP Field Column Mapping
12.4.3. Read-only Fields
12.4.4. Auditing Entity Access
12.4.5. Dependent Value Classes (DVCs)
12.5. Container Managed Relationships
12.5.1. CMR-Field Abstract Accessors
12.5.2. Relationship Declaration
12.5.3. Relationship Mapping
12.6. Queries
12.6.1. Finder and select Declaration
12.6.2. EJB-QL Declaration
12.6.3. Overriding the EJB-QL to SQL Mapping
12.6.4. JBossQL
12.6.5. DynamicQL
12.6.6. DeclaredSQL
12.6.7. EJBQL 2.1 and SQL92 queries
12.6.8. BMP Custom Finders
12.7. Optimized Loading
12.7.1. Loading Scenario
12.7.2. Load Groups
12.7.3. Read-ahead
12.8. Loading Process
12.8.1. Commit Options
12.8.2. Eager-loading Process
12.8.3. Lazy loading Process
12.8.4. Lazy loading result sets
12.9. Transactions
12.10. Optimistic Locking
12.11. Entity Commands and Primary Key Generation
12.11.1. Existing Entity Commands
12.12. Defaults
12.12.1. A sample jbosscmp-jdbc.xml defaults declaration
12.13. Datasource Customization
12.13.1. Type Mapping
12.13.2. Function Mapping
12.13.3. Mapping
12.13.4. User Type Mappings