Question - How does EJB invocation take place?
Answer -
Home Object reference is retrieved from the Naming Service via JNDI. Home Object reference is returned to the client. The steps are:
- Created a new EJB Object via Home Object interface.
- Created an EJB Object from the Ejb Object.
- Returned an EJB Object reference to the client.
- Invoked business method by using EJB Object reference.
- Delegate requested to Bean (Enterprise Bean).