Topics in This Chapter
Presentation Tier Refactorings
Business and Integration Tier Refactorings
The refactorings in this section apply to the presentation tier.
Control logic is scattered throughout the application, typically duplicated in multiple JavaServer Pages (JSP) views.
Extract control logic into one or more controller classes that serve as the initial contact point for handling a client request.
Figure 4.1. Introduce a Controller
Control code that is duplicated in multiple JSP also needs to be maintained in each JSP. Extracting this ...