Document Information
Preface
1. Introduction
Goals of This Tutorial
Requirements for This Tutorial
A Checklist
Getting the Java EE 6 SDK
Getting NetBeans 6.7 IDE
Configuring Your Environment
Getting the Latest Updates to the Tutorial
2. Understanding 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
Java EE Servers
Java EE Containers
The Web Container
The Application Client Container
The EJB Container
3. Creating Your First Java EE Application
Architecture of the Example Application
Tiers in the Example Application
Java EE Technologies Used in the Example Application
Coding the Example Application
Getting Started
Create a Directory for the Example
Creating the Web Service
JAX-RS Resources
Creating the Endpoint
Building and Deploying the Web Service
Creating the Enterprise Bean
Creating DukesBirthdayBean in NetBeans 6.7 IDE
Creating the Web Client
Creating a Resource Bundle
Configuring the Resource Bundle in the Configuration File
Creating the DukesBDay Managed Bean Class
Creating the Facelets Client
Resource Libraries in firstcup
The inputDate Composite Component
The Facelets Web Interface
Building, Packaging, Deploying, and Running the firstcup Web Application
Building and Packaging the firstcup Web Application
Running the firstcup Application
4. Next Steps
The Java EE Tutorial
More Information on the Java EE Platform
Sun GlassFish Enterprise Server v3
GlassFish
Other Java EE Servers