Developing a servlet client

The first client application is a simple thin client Web application with HTML pages, servlets, and JSPs (Figure 17-1):

Figure 17-1. Web application design

  • Banking— The banking path consists of an HTML page and a servlet. From the Banking.html page, we invoke the BankingServlet servlet that executes the methods of the Banking session bean.

  • Reports— The reporting path consists of an HTML page, two servlets, and three JSPs. From the Reports.html page, we invoke the ReportServlet servlet, which calls either the ReportAccounts or ReportCustomers JSP for output. The ReportCustomers JSP invokes the ReportDetailServlet ...

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.