Identifying Session Beans in Enterprise Applications

In the previous chapter, we split up the control object behavior into externally focused servlets and an internally focused control object with the main responsibility for business logic and handling interactions with entity objects.

Based on the discussion so far, you can probably already see that the ses sion bean concept is ideally suited for being that internally focused control object.

In the context of using the session bean for the internally focused control object in the Transfer funds scenario, there are several details left to sort out:

  • Is the session bean responsible for a single act, that is, to transfer funds, or does it have other responsibilities?

  • Is this a stateless or stateful ...

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.