A J2EE Overview

The pieces that make up the J2EE architecture can be divided into three categories, as can be seen in Figure 10-1.

Figure 10-1. J2EE components, containers, and services.

These are:

  • Components: Reusable, encapsulated program elements.

  • Containers: The runtime environments for components that mediates between the components and connectors.

  • Services: Providers of access to external services via standard APIs.

Components

There are three types of components defined in the J2EE model. These are:

  • Servlets

  • Java Server Pages (JSPs)

  • Enterprise JavaBeans (EJBs)

Servlets and JSPs are components designed specifically for building Web-based applications ...

Get Java™ Oracle® Database Development 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.