EJB 2.0 Development with WebSphere Studio Application Developer
by Ueli Wahli, Wouter Denayer, Lars Schunk, Deborah Shaddon, Martin Weiss
Type of clients
Clients that access EJBs are of different types:
Session beans— A session bean can be looked at as being a client of the entity beans it accesses. In most cases, these beans run in the same EJB container and can use local interfaces.
Servlets— Servlets can interact with EJBs through remote or local interfaces. A suggested approach is that servlets only interact with session beans, and the session beans interact with entity beans. To access session beans, the servlet can use either remote or local interfaces; for portability, remote interfaces are suggested.
J2EE application clients— J2EE application clients run in a client container and have access to the services of EJBs running in an application server on a server machine.
Applet ...
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