Part I Development Tasks and Tools
1. Setting Up a Development Environment
Part II Developing Applications and Application Components
6. Using the Java Persistence API
The CacheKeyGenerator Interface
Instantiating and Removing Servlets
JSP Tag Libraries and Standard Portable Tags
Options for Compiling JSP Files
Creating and Managing Sessions
HTTP Sessions, Cookies, and URL Rewriting
Saving Sessions During Redeployment
Distributed Sessions and Persistence
The replicated Persistence Type
The coherence-web Persistence Type
The Grizzly Implementation of Comet
Client Technologies to Use With Comet
Creating a Comet-Enabled Application
Creating the Deployment Descriptor
Deploying and Running a Comet-Enabled Application
To Write, Deploy, and Run the Client
Advanced Web Application Features
Using the default-web.xml File
To Use the default-web.xml File
Configuring Logging and Monitoring in the Web Container
Configuring Idempotent URL Requests
Characteristics of an Idempotent URL
Configuring Valves and Catalina Listeners
8. Using Enterprise JavaBeans Technology
9. Using Container-Managed Persistence
12. Developing Lifecycle Listeners
13. Developing OSGi-enabled Java EE Applications
Part III Using Services and APIs
14. Using the JDBC API for Database Access
15. Using the Transaction Service
16. Using the Java Naming and Directory Interface
This chapter describes how web applications are supported in the Oracle GlassFish Server.
The following topics are addressed here:
For general information about web applications, see Part II, The Web Tier, in The Java EE 6 Tutorial.
Note - The Web Profile of the GlassFish Server supports the EJB 3.1 Lite specification, which allows enterprise beans within web applications, among other features. The full GlassFish Server supports the entire EJB 3.1 specification. For details, see JSR 318.