Chapter 3. The Layered Application

The application we introduced in Chapter 2 functions properly, but it wasn't designed with flexibility in mind. Over the course of this book, the plan is to introduce the various APIs that make up the Java 2 Enterprise Edition (J2EE), and show how they can be incorporated into the example application. In order to do this, we'd like the application to be modularized in such a way that we can swap in various pieces of technology without disturbing the rest of the system. Although such flexibility is frequently touted as a benefit of object-oriented systems, in reality flexibility never comes about as an accident, no matter what language or methodology you might be using.

In order to give us this degree of flexibility, ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services 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.