Identifying Servlets in Enterprise Applications

Now that you have become intimately familiar with servlets, it is time to return to building the HomeDirect online banking example.

At the beginning of this chapter, we identified the need to evolve the control object in the Transfer funds use case by splitting it into two, one focused on the external interaction and the other focused on the internal interaction.

Of course, the question remains: How do you actually arrive at this division of responsibilities? The answer is partly based on understanding what a servlet is capable of doing and the rest on judgment and experience. In general, the role of the servlet is that of a coordinator between the boundary objects and the rest of the system. All ...

Get Developing Enterprise Java Applications with J2EE™ and UML now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.