Skip Headers
Oracle9iAS Containers for J2EE Stand Alone User's Guide
Release 2 (9.0.2)
Part Number A96642-01
Index
Contents
Title and Copyright Information
Send Us Your Comments
Preface
1 J2EE Overview
OC4J Primary Features
Set of Pure Java Containers and Runtime Executing on the JDK
J2EE Certified
Overview of J2EE APIs and OC4J Support
Java Servlets
JavaServer Pages
Enterprise JavaBeans
Java Database Connectivity Services
Java Naming and Directory Interface
Java Transaction API
Java Messaging Service
JAAS Provider
Java Plug-In Partner and Third-Party Tool Support
Actional Control Broker
Blaze Advisor
Borland JBuilder
Cacheon Business Service Center
Computer Associates Cool:Joe
Compuware OptimalJ
Documentum WDK
Empirix BeanTest
FatWire UpdateEngine
ILOG JRules
Mercury Interactive LoadRunner
Neuvis NeuArchitect
Oracle Extensions for Macromedia UltraDev
Pramati Studio
Rational Rose
Sitraka JProbe
Sonic Software SonicMQ
Sun Forte
TogetherSoft ControlCenter
VMGear Optimizeit
WebGain Visual Cafe
2 Configuration and Deployment
Installation
Requirements
Basic Installation
Testing the Default Configuration
Starting and Stopping OC4J
Starting OC4J
Administering OC4J
Shutting Down OC4J
HTTP and RMI Communication
Quick Start for JSPs and Servlets
Creating the Development Directory
Configuring the Pet Store Web Application Demo
Downloading An OC4J-Ready Pet Store Demo
Explanation of the Changes to the Pet Store Demo
Deploying Applications
Basic Deployment
Binding the Web Application
Verifying Deployment
Undeploying Web Applications
3 Advanced Configuration,
Development, and Deployment
Overview of OC4J and J2EE XML Files
XML Configuration File Overview
XML File Interrelationships
What Happens When You Deploy?
Manually Adding Applications to OC4J
Configuring a Listener
Configuring J2EE Applications
Building and Deploying Within a Directory
OC4J Automatic Deployment for Applications
4 Data Sources Primer
Introduction
Definition of Data Sources
Retrieving a Connection From a Data Source
5 Servlet Primer
What Is a Servlet?
The Servlet Container
Servlet Performance
Two Servlet Examples
The Hello World Servlet
The GetEmpInfo Servlet
Session Tracking
Session Tracking Example
Servlet Filters
A Logging Filter
Servlet Debugging
Learning More About Servlets
6 JSP Primer
A Brief Overview of JavaServer Pages Technology
What Is JavaServer Pages Technology?
JSP Translation and Runtime Flow
Key JSP Advantages
JSP in Application Architecture
Running a Simple JSP Page
Create the JSP--welcomeuser.jsp
Place welcomeuser.jsp into the OC4J Directory Structure
Run welcomeuser.jsp
Running a JSP Page That Invokes a JavaBean
Create the JSP--usebean.jsp
Create the JavaBean--NameBean.java
Place usebean.jsp and NameBean.class into the OC4J Directory Structure
Run usebean.jsp
Running a JSP Page That Uses Custom Tags
Create the JSP Page--sqltagquery.jsp
Place sqltagquery.jsp into the OC4J Directory Structure
Set Up Files for Tag Library Support
Run sqltagquery.jsp
Overview of Oracle Value-Added Features for JSP Pages
7 EJB Primer
Developing EJBs
Creating the Development Directory
Implementing the Enterprise JavaBeans
Creating the Deployment Descriptor
Archiving the EJB Application
Preparing the EJB Application for Assembly
Modifying Application.XML
Creating the EAR File
Deploying the Enterprise Application to OC4J
Using ADMIN.JAR to Modify SERVER.XML
Updating SERVER.XML Manually
Verifying Deployment
8 Security
Overview of Security Functions
Authentication
Specifying Users and Groups
Authenticating HTTP Clients
Authenticating EJB Clients
Authorization
Specifying Logical Roles in a J2EE Application
Mapping Logical Roles to Users and Groups
Plugging In a User Manager
Using the JAZNUserManager Class
Creating Your Own User Manager
A Additional Information
Description of XML File Contents
OC4J Configuration XML Files
J2EE Deployment XML Files
Elements in the server.xml File
Configure OC4J
Reference Other Configuration Files
Standalone OC4J Command-Line Options
Options for the OC4J Server JAR
Options for the OC4J Administration Management JAR
Configuration and Deployment Examples
J2EE Application XML Configuration Example
B Third Party Licenses
Apache HTTP Server
The Apache Software License
Apache JServ
Apache JServ Public License
Index
Copyright © 2002, 2002 Oracle Corporation.
All Rights Reserved.
Index