O'Reilly logo

Java™ Data Objects by Robin M. Roos

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

11.7. JDO integration with stateful session beans

Stateful session bean instances are dedicated to one client for a number of method invocations, and can maintain conversational state across these methods. Stateful session beans can also employ BMTs in order to keep a transaction open over such a series of invocations. The stateful session bean lifecycle is illustrated in Figure 11.2.

Figure 11.2. Stateful session bean lifecycle

The stateful session bean lifecycle is similar to that of the stateless session bean. Notable differences are that once in the method-ready state, it is assigned to a single client. The activate() and passivate() invocations ...

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