Chapter 17. Client development

In this chapter, we describe how clients can access and use Enterprise JavaBeans in distributed applications. After introducing some basic concepts, we cover the main alternatives a developer has: direct access to entity beans, using access beans, and using a session facade.

We first describe simple applications to illustrate the concepts, but then we focus on using servlets as EJB client applications and give examples for each approach we present. At the end of the chapter, we compare these different approaches and provide guidelines for using them.

Get EJB 2.0 Development with WebSphere Studio Application Developer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.