| Oracle9iAS Containers for J2EE Servlet Developer's Guide Release 2 (9.0.3) Part Number A97680-01 |
|
This guide describes the servlet container of the Oracle9iAS Containers for J2EE (OC4J), including discussion of basic servlets, data-access servlets, and servlet filters and event listeners. It also provides an overview of OC4J deployment and configuration, with detailed descriptions of key configuration files.
Because this manual is intended for developers, its content is largely targeted toward users of the OC4J standalone development environment; however, there is ample consideration of OC4J within an Oracle9iAS production environment.
As for Oracle9iAS release 2 (9.0.3), the OC4J servlet container fully complies with the Sun Microsystems Java Servlet Specification, Version 2.3.
This preface contains these topics:
The guide is intended for J2EE developers who are writing Web applications that use servlets and possibly JavaServer Pages (JSP). It provides the basic information you will need regarding the OC4J servlet container. It does not attempt to teach servlet programming in general, nor does it document the Java Servlet API in detail.
You should be familiar with the Sun Microsystems Java(TM) Servlet Specification, Version 2.3. This is especially true if you are developing a distributable Web application, in which sessions can be replicated to servers running under more than one Java virtual machine (JVM).
Because this is a developer's guide, and development and testing are more convenient in an OC4J standalone environment, key aspects of OC4J standalone are discussed, and the assumption is that most developers will be using a standalone environment.
If you are developing applications that primarily use JavaServer Pages, refer to the Oracle9iAS Containers for J2EE Support for JavaServer Pages Developer's Guide.
Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Standards will continue to evolve over time, and Oracle Corporation is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For additional information, visit the Oracle Accessibility Program Web site at
http://www.oracle.com/accessibility/
JAWS, a Windows screen reader, may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, JAWS may not always read a line of text that consists solely of a bracket or brace.
This documentation may contain links to Web sites of other companies or organizations that Oracle Corporation does not own or control. Oracle Corporation neither evaluates nor makes any representations regarding the accessibility of these Web sites.
This document contains:
Summarizes servlet technology and servlet development in general, introduces the OC4J servlet container, and provides a simple "Hello World" example.
Describes how the OC4J servlet container supports servlet development and invocation, including a discussion of key development considerations. Provides several complete examples.
Discusses how to configure the OC4J servlet environment and deploy a Web application in OC4J.
Explains the use of filters to affect servlet input or output, and event listeners to track session and application events and manage resources accordingly. These features are new in the Servlet 2.3 specification.
This appendix includes the Third Party License for third party products included with Oracle9i Application Server and discussed in this document.
See the following additional OC4J documents available from the Oracle Java Platform group:
This book provides some overview and general information for OC4J; primer chapters for servlets, JSP pages, and EJBs; and general configuration and deployment instructions.
This book provides information for JSP developers who want to run their pages in OC4J. It includes a general overview of JSP standards and programming considerations, as well as discussion of Oracle value-added features and steps for getting started in the OC4J environment.
This book provides conceptual information and detailed syntax and usage information for tag libraries, JavaBeans, and other Java utilities provided with OC4J.
This book provides information about standards-based Java services supplied with OC4J, such as JTA, JNDI, JMS, JAAS/JAZN, and the Oracle9i Application Server Java Object Cache.
This book provides information about the EJB implementation and EJB container in OC4J.
Also available from the Oracle Java Platform group:
The following documents are available from the Oracle9i Application Server group:
The following are available from the JDeveloper group:
http://otn.oracle.com/products/jdev/content.html
The following documents from the Oracle Server Technologies are also of possible interest:
You can obtain the Sun Microsystems Java Servlet Specification, Version 2.3 at the following location:
http://jcp.org/aboutJava/communityprocess/first/jsr053/index.html
For servlet API documentation, refer to the Javadoc available from Sun Microsystems at the following location:
http://java.sun.com/products/servlet/2.3/javadoc/index.html
In North America, printed documentation is available for sale in the Oracle Store at
http://oraclestore.oracle.com/
Customers in Europe, the Middle East, and Africa (EMEA) can purchase documentation from
http://www.oraclebookshop.com/
Other customers can contact their Oracle representative to purchase printed documentation.
To download free release notes, installation documentation, white papers, or other collateral, please visit the Oracle Technology Network (OTN). You must register online before using OTN; registration is free and can be done at
http://otn.oracle.com/
If you already have a user name and password for OTN, then you can go directly to the documentation section of the OTN Web site at
http://otn.oracle.com/docs/index.htm
To access the documentation search engine directly, please visit
http://tahiti.oracle.com
The following resources are available from Sun Microsystems:
http://java.sun.com/products/servlet/index.html
http://java.sun.com/products/jsp/index.html
This section describes the conventions used in the text and code examples of this document. It describes:
We use various conventions in text to help you more quickly identify special terms. The following table describes those conventions and provides examples of their use.
Code examples illustrate SQL, PL/SQL, SQL*Plus, or other command-line statements. They are displayed in a monospace (fixed-width) font and separated from normal text as shown in this example:
SELECT username FROM dba_users WHERE username = 'MIGRATE';
The following table describes typographic conventions used in code examples and provides examples of their use.
|
|
![]() Copyright © 2002 Oracle Corporation. All Rights Reserved. |
|