Skip Headers
Oracle9
i
AS Containers for J2EE Servlet Developer's Guide
Release 2 (9.0.3)
Part Number A97680-01
Core
Platform
Index
Contents
Title and Copyright Information
Send Us Your Comments
Preface
Intended Audience
Documentation Accessibility
Organization
Related Documentation
Conventions
1 Servlet Overview
Introduction to Servlets
Review of Servlet Technology
Advantages of Servlets
The Servlet Interface and Request and Response Objects
Servlets and the Servlet Container
Introduction to Servlet Sessions
Servlet Contexts
Introduction to Servlet Filters
Introduction to Event Listeners
Other J2EE Component Types
A First Servlet Example
Hello World Code
Compiling and Deploying the Servlet
Running the Servlet
2 Servlet Development
Servlet Development Basics and Key Considerations
Code Template
Servlet Loading and Lifecycle
Servlet Preloading
Servlet Class Loading
Servlet Information Exchange
Servlet Threading
Servlet Security Considerations
OC4J Default Web Application and Key Directories
Oracle9
i
JDeveloper Support for Servlet Development
Servlet Invocation
Servlet Invocation by Class Name During OC4J Development
Servlet Invocation in an Oracle9
i
AS Production Environment
Servlet Invocation in an OC4J Standalone Environment
Servlet Sessions
Session Tracking
Session Cancellation
Session Servlet Example
Session Replication
Use of JDBC in Servlets
Database Query Servlet
Deployment and Testing of the Database Query Servlet
EJB Calls from Servlets
Local EJB Lookup within the Same Application
Remote EJB Lookup within the Same Application
EJB Lookup Outside the Application
EJB 2.0 Local Interfaces
3 Deployment and Configuration
Introduction to Web Application Deployment and Configuration
Deployment and Configuration with OC4J Standalone
OC4J Deployment and Configuration with Oracle9
i
AS and Enterprise Manager
Overview of Configuration Files
Application Assembly
Web Application Modules
Application Directory Structure
Application Build Mechanisms
Application Packaging
Configuration File Descriptions
Syntax Notes for Element Documentation
The global-web-application.xml and orion-web.xml Files
The default-web-site.xml, http-web-site.xml, and Other Web Site XML Files
Web Module Configuration in Oracle Enterprise Manager
Enterprise Manager OC4J Home Page
Enterprise Manager Deploy Web Application Page
Enterprise Manager Website Properties Page
Enterprise Manager Web Module Page
Enterprise Manager Web Module Properties Page
Enterprise Manager Web Module Mappings Page
Enterprise Manager Web Module Filtering and Chaining Page
Enterprise Manager Web Module Environment Page
Enterprise Manager Web Module Advanced Properties Page
4 Servlet Filters and Event Listeners
Servlet Filters
Overview of Servlet Filters
How the Servlet Container Invokes Filters
Filter Examples
Event Listeners
Event Categories and Listener Interfaces
Typical Event Listener Scenario
Event Listener Declaration and Invocation
Event Listener Coding and Deployment Guidelines
Event Listener Methods and Related Classes
Event Listener Sample
A Third Party Licenses
Apache HTTP Server
The Apache Software License
Apache JServ
Apache JServ Public License
Index
Copyright © 2002 Oracle Corporation.
All Rights Reserved.
Core
Platform
Index