Client Access
With different types of beans, the client access mechanisms and views need to be formalized to reduce complexity and simplify maintenance. Clients can be instances of EJBs or other Web application components such as JSP, Java applets, and so on. To a client, a session bean is a non-persistent enterprise bean that encapsulates business logic, and an entity bean is an object-oriented (Java) representation of different types of persistent data (RDBMS and others).
Every bean has two interfaces that define the client access mechanisms: home and component interfaces. Together, these interfaces define the clients' view of enterprise beans. The bean container provides the implementation of these interfaces, but the container is transparent ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access