Chapter 13. Web Application Models

Part II of this book described how you can create many different types of applications using only JSP pages with generic components, such as custom actions and beans, to access databases, present content in different languages, protect pages, and so forth—all without knowing much about Java programming. This approach works fine for many types of web applications, such as employee registers, product catalogs, and conference room reservation systems. But for applications with complicated schemas, intricate business rules, and tricky control flows, the generic components just don’t cut it, and you suddenly find that you need a more powerful way to handle the request processing and the business logic.

As I mentioned in Chapter 3, JSP pages can also be combined with other Java technologies such as servlets and EJB in more complex applications. In this chapter, we look at how JSP fits into this larger picture. After this brief description of the most common application models, Chapter 14, describes the combination of servlets and JSP pages in detail.

The material presented in this part of the book is geared towards Java programmers. If you’re not a programmer, you may still want to browse through this part to get a feel for the possibilities, but don’t expect to understand everything. To really appreciate the techniques described in this part of the book, you should have experience with Java programming in general and also be familiar with Java servlets. ...

Get Java Server Pages 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.