How EJB Invocation happens?The following are the invocation steps for EJB :
Step 1: Using JNDI, retrieve Home Object reference from Naming Service
Step 2: Send or return Home Object reference to the client.
Step 3: Create a new EJB Object through Home Object interface.
Step 4: Create EJB Object from the Ebb Object.
Step 5: Send or return EJB Object reference to the client.
Step 6: Invoke business method using EJB Object reference.
Step 7: Delegate request to Enterprise Bean.How EJB Invocation happens?Steps to EJB invocation are:
- Retrieve Home Object reference from Naming Service via JNDI.
- Return Home Object reference to the client.
- Create a new EJB Object through Home Object interface.
- Create EJB Object from the EJB Object.
- Return EJB Object reference to the client.
- Invoke business method using EJB Object reference.
- Delegate request to Bean (Enterprise Bean).
|
EJB typesEJB types - Different types of EJB, types of session beans, types of Entity beans, relationship between local interfaces and container-managed relationships