Introduction

Session beans are business logic beans that implement the tasks or workflow of a system, and provide coordination of those activities between other beans. An example is a banking service that allows for a transfer between accounts (or account entity beans). Sometimes session beans act as a facade that hides an entity bean from its client, as discussed in previous chapters. Session beans often are seen as extensions to the client programming model, in that they provide the objects. Often, session beans are used to model use-case interactions of an application. Unlike entity beans that represent concrete domain concepts, or nouns of a system, the session beans can represent the verbs, or processes, of the system.

As we saw in the ...

Get EJB 2.0 Development with WebSphere Studio Application Developer 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.