Jump To Close Expand all Collapse all Table of contents Developing EJB Applications 1. Introduction Expand section "1. Introduction" Collapse section "1. Introduction" 1.1. Overview of Enterprise JavaBeans 1.2. EJB 3.2 Feature Set 1.3. Enterprise Beans Expand section "1.3. Enterprise Beans" Collapse section "1.3. Enterprise Beans" 1.3.1. Writing Enterprise Beans 1.4. Enterprise Bean Business Interfaces 1.5. Legacy EJB Client Compatibility 2. Creating Enterprise Bean Projects Expand section "2. Creating Enterprise Bean Projects" Collapse section "2. Creating Enterprise Bean Projects" 2.1. Create an EJB Archive Project Using Red Hat CodeReady Studio 2.2. Create an EJB Archive Project in Maven 2.3. Create an EAR Project Containing an EJB Project 2.4. Add a Deployment Descriptor to an EJB Project 3. Session Beans Expand section "3. Session Beans" Collapse section "3. Session Beans" 3.1. Session Beans 3.2. Stateless Session Beans 3.3. Stateful Session Beans 3.4. Singleton Session Beans 3.5. Add Session Beans to a Project in Red Hat CodeReady Studio 4. Message-Driven Beans Expand section "4. Message-Driven Beans" Collapse section "4. Message-Driven Beans" 4.1. Message-Driven Beans 4.2. Message-Driven Beans Controlled Delivery Expand section "4.2. Message-Driven Beans Controlled Delivery" Collapse section "4.2. Message-Driven Beans Controlled Delivery" 4.2.1. Delivery Active 4.2.2. Delivery Groups 4.2.3. Clustered Singleton MDBs 4.3. Create a JMS-based Message-Driven Bean in Red Hat CodeReady Studio 4.4. Specifying a Resource Adapter in jboss-ejb3.xml for an MDB 4.5. Using Resource Definition Annotations in MDBs Deployed to a Cluster 4.6. Enable EJB and MDB Property Substitution in an Application Expand section "4.6. Enable EJB and MDB Property Substitution in an Application" Collapse section "4.6. Enable EJB and MDB Property Substitution in an Application" 4.6.1. Configure the Server to Enable Property Substitution 4.6.2. Define the System Properties Expand section "4.6.2. Define the System Properties" Collapse section "4.6.2. Define the System Properties" 4.6.2.1. Define the System Properties in the Server Configuration 4.6.2.2. Pass the System Properties as Arguments on Server Start 4.6.3. Modify the Application Code to Use the System Property Substitutions 4.7. Activation Configuration Properties Expand section "4.7. Activation Configuration Properties" Collapse section "4.7. Activation Configuration Properties" 4.7.1. Configuring MDBs Using Annotations 4.7.2. Configuring MDBs Using a Deployment Descriptor 4.7.3. Some Example Use Cases for Configuring MDBs 5. Invoking Session Beans Expand section "5. Invoking Session Beans" Collapse section "5. Invoking Session Beans" 5.1. About EJB Client Contexts 5.2. Using Remote EJB Clients Expand section "5.2. Using Remote EJB Clients" Collapse section "5.2. Using Remote EJB Clients" 5.2.1. Initial Context Lookup 5.2.2. Remote EJB Configuration File 5.2.3. The ClientTransaction Annotation 5.3. Remote EJB Data Compression 5.4. EJB Client Remoting Interoperability 5.5. Configure IIOP for Remote EJB Calls 5.6. Configure the EJB Client Address 5.7. EJB Invocation Over HTTP Expand section "5.7. EJB Invocation Over HTTP" Collapse section "5.7. EJB Invocation Over HTTP" 5.7.1. Client-side Implementation 5.7.2. Server-side Implementation 6. EJB Application Security Expand section "6. EJB Application Security" Collapse section "6. EJB Application Security" 6.1. Security Identity Expand section "6.1. Security Identity" Collapse section "6.1. Security Identity" 6.1.1. About EJB Security Identity 6.1.2. Set the Security Identity of an EJB 6.2. EJB Method Permissions Expand section "6.2. EJB Method Permissions" Collapse section "6.2. EJB Method Permissions" 6.2.1. About EJB Method Permissions 6.2.2. Use EJB Method Permissions 6.3. EJB Security Annotations Expand section "6.3. EJB Security Annotations" Collapse section "6.3. EJB Security Annotations" 6.3.1. About EJB Security Annotations 6.3.2. Use EJB Security Annotations 6.4. Remote Access to EJBs Expand section "6.4. Remote Access to EJBs" Collapse section "6.4. Remote Access to EJBs" 6.4.1. Use Security Realms with Remote EJB Clients 6.4.2. Add a New Security Realm 6.4.3. Add a User to a Security Realm 6.4.4. Relationship Between Security Domains and Security Realms 6.4.5. About Remote EJB Access Using SSL Encryption 6.5. Elytron Integration with the EJB Subsystem Expand section "6.5. Elytron Integration with the EJB Subsystem" Collapse section "6.5. Elytron Integration with the EJB Subsystem" 6.5.1. Configure the Application Security Domain Using the Management Console 6.5.2. Configure the Application Security Domain Using the Management CLI 7. Container and Client Interceptors Expand section "7. Container and Client Interceptors" Collapse section "7. Container and Client Interceptors" 7.1. About Container Interceptors 7.2. Create a Container Interceptor Class 7.3. Configure a Container Interceptor 7.4. Change the Security Context Identity 7.5. Use a Client Interceptor in an Application 8. Clustered Enterprise JavaBeans Expand section "8. Clustered Enterprise JavaBeans" Collapse section "8. Clustered Enterprise JavaBeans" 8.1. About Clustered Enterprise JavaBeans (EJBs) 8.2. EJB Client Code Simplification 8.3. Deploying Clustered EJBs 8.4. Failover for Clustered EJBs 8.5. Remote Standalone Clients 8.6. Cluster Topology Communication 8.7. Automatic Transaction Stickiness for EJBs 8.8. Remote Clients on Another Instance 8.9. Standalone and In-server Client Configuration 8.10. Implementing a Custom Load Balancing Policy for EJB Calls 8.11. EJB Transactions in a Clustered Environment 9. Tuning the EJB 3 Subsystem A. Reference Material Expand section "A. Reference Material" Collapse section "A. Reference Material" A.1. EJB JNDI Naming Reference A.2. EJB Reference Resolution A.3. Project Dependencies for Remote EJB Clients A.4. jboss-ejb3.xml Deployment Descriptor Reference A.5. Configure an EJB Thread Pool Legal Notice Settings Close Language: English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Chapter 9. Tuning the EJB 3 Subsystem For tips on optimizing performance for the ejb3 subsystem, see the EJB Subsystem Tuning section of the Performance Tuning Guide. Previous Next