Chapter 18. A Single-Tiered Web Application

Some people will argue that a Web application can't ever be a single-tiered application because the browser is separate from the Web server. From a code standpoint, though, if your servlet or JSP manages data, performs business logic, and generates HTML, you are handling all three tiers within the same component. From one point of view, that constitutes a single-tiered application.

The main feature that distinguishes a single-tiered application from a two- or three-tiered application is that the single-tiered application manages its own data. When ...

Get Special Edition Using Java™ Server Pages and Servlets now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.