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 ...

Get Developing Enterprise Java Applications with J2EE™ and UML 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.