O'Reilly logo

Developing Enterprise Java Applications with J2EE™ and UML by Cary E. Umrysh, Khawar Zaman Ahmed

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

Session Bean Technology

For the client, a session bean is seen as an object that implements some particular business logic that the client needs and typically is involved with some sort of transactional or state management requirements. Any given session object is only ever available to a single client; however, as you have just seen, session objects can be recycled and reused if they are stateless.

Home Interface

Every session bean needs to provide a Home interface. This is the interface used by the client program to invoke the basic bean life cycle methods. The Home interface of every session bean must define at least one method, create<METHOD>, which creates an instance of the session object, where <METHOD> can be any method name using create ...

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