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.3. Stateful session EJBs

6.3.1. Overview of operation

Stateful session EJB implementation instances are never pooled; they are instantiated on demand when the client calls create() on the EJB’s (remote or local) home interface, and removed when the client calls remove(). The interaction between the client, container, and implementation instance is shown in simplified form in Figure 6.1 (it is simplified in that the diagram does not show passivation, timeout, or the synchronization during a transaction. These issues are discussed later). The purpose of each of the steps in Figure 6.1 is explained below. Note that the exact ordering may not be maintained by a particular product. The EJB Specification sets out where flexibility is allowed and ...

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