Chapter 15. EJB access beans

In this chapter, we introduce access beans as a facility to simplify client programming when accessing enterprise beans.

Accessing an enterprise bean requires the use of the initial naming context and basic knowledge about the way the home and remote interfaces are used. The developer also has to provide important parameters, such as JNDI names and provider URL. The most important consideration, however, is probably the cost associated with the repeated calling of remote methods.

Considering all these, we need another way to write EJB clients, a way that enables developers with no EJB knowledge to write clients that can access enterprise beans and display their properties. Access beans are the solution.

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.