Document Information

Preface

1.  Introduction

2.  The Java Platform, Enterprise Edition

Differences between Java EE and Java SE

The Java Programming Language Platforms

Java SE

Java EE

Java ME

Overview of Enterprise Applications

Tiered Applications

The Client Tier

The Web Tier

Java EE Technologies Used in the Web Tier

The Business Tier

Java EE Technologies Used in the Business Tier

The Enterprise Information Systems Tier

Java EE Technologies Used in the EIS Tier

3.  Creating Your First Java EE Application

4.  Building, Packaging, and Deploying and Running the Example Application

5.  Next Steps

 

Java EE Servers

A Java EE server is a server application that the implements the Java EE platform APIs and provides the standard Java EE services. Java EE servers are sometimes called application servers, because they allow you to serve application data to clients, much as how web servers serve web pages to web browsers.

Java EE servers host several application component types that correspond to the tiers in a multi-tiered application. The Java EE server provides services to these components in the form of a container.

Java EE Containers

Java EE containers are the interface between the component and the lower-level functionality provided by the Java EE platform to support that component. The functionality of the container is defined by the Java EE platform, and is different for each component type. Nonetheless, the Java EE server allows the different component types to work together to provide functionality in an enterprise application.

The Web Container

The web container is the interface between web components and the web server. A web component can be a servlet, a JSP page, or a JavaServer Faces page. The container manages the component's lifecycle, dispatches requests to application components, and provides interfaces to context data, such as information about the current request.

The Application Client Container

The application client container is the interface between Java EE application clients, which are special Java applications that use Java EE server components, and the Java EE server. The application client container runs on the client machine, and is the gateway between the client application and the Java EE server components that the client uses.

The EJB Container

The EJB container is the interface between enterprise beans, which provide the business logic in a Java EE application, and the Java EE server. The EJB container runs on the Java EE server and manages the execution of an application's enterprise beans.