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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.