Growing JSP and Servlet Sites into EJB-based Services
Patrick Sean Neville

Figure 1 — a typical first generation JSP/servlet Web application
 
Figure 2 — the enterprise logic is refactored into proprietary libraries
 
Figure 3 — refactored EJB version of the application
 
Figure 4 — EJB-based service view of the application, encapsulated in portable EAR format