O'Reilly logo

Applied Enterprise JavaBeans™ Technology by Kevin Boone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.4. Stateless session EJBs

6.4.1. Overview of operation

The interactions between client, container, and EJB implementation instance are somewhat different for stateless session EJBs than the interactions we have discussed for stateful session EJBs. This is because the container creates a pool of implementation instances and shares them between clients. Therefore, in the collaboration diagram (Figure 6.2), there are two sets of collaborations. We will begin by considering the interactions that are driven by the client; assume that the pool of instances and EJB objects has already been created. As before, the distinction between local and distributed client views is not important at this stage.

Figure 6.2. Interaction between the client, EJB ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required