<img alt="" src="https://secure.leadforensics.com/150446.png " style="display:none;">


Accessing EJB 3.1 components from local POJO client

EJB 3.0 introduced the @EJB dependency injection which is used in local or remote clients to obtain access to the session beans (In EJB 3.0 only session beans have a client view). However, this dependency injection can be used only in web components whose life cycle is managed by the Java EE web container and session beans. For other clients, the access to the EJB components need to be obtained via JNDI lookup.

Topics: EJB Session Facade EJB 3.1 Application Design Business Delegate Domain Model JNDI Technology Service Locator

e-Zest is a leading digital innovation partner for enterprises and technology companies that utilizes emerging technologies for creating engaging customers experiences. Being a customer-focused and technology-driven company, it always helps clients in crafting holistic business value for their software development efforts. It offers software development and consulting services for cloud computing, enterprise mobility, big data and analytics, user experience and digital commerce.