Chapter 18. Developing E-Commerce Applications

Developing E-Commerce Applications

In Chapter 17, “Architecting Java Web Applications,” you learned that there are two design models you can adopt to build Java web applications with servlets and JSP. The first model, simply called Model 1, is a page-centric model in which an application consists of a series of JSP pages. In this model, a JSP page calls another JSP page. Developing applications based on this model is very easy; however, for complex applications, this model presents maintenance nightmares. Therefore, this model is suitable only for small applications that will never grow in complexity.

The second model, Model 2, is a ...

Get Java for the Web with Servlets, JSP, and EJB: A Developer’s Guide to J2EE Solutions 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.