Skip Headers
Oracle9
i
AS Containers for J2EE User's Guide
Release 2 (9.0.2)
Part Number A95880-01
Home
Solution Area
Index
Contents
Title and Copyright Information
Send Us Your Comments
Preface
1 J2EE Overview
OC4J 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
Tunneling, Load Balancing, and Clustering Services Provided by OC4J
RMI Tunneling Over HTTP
Load Balancing and Clustering
Java Plug-In Partners and Third Party Tools 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
Macromedia UltraDev
Mercury Interactive LoadRunner
Neuvis NeuArchitect
Pramati Studio
Rational Rose
Sitraka JProbe
Sonic Software SonicMQ
Sun Forte
TogetherSoft ControlCenter
VMGear Optimizeit
WebGain Visual Cafe
2 Configuration and Deployment
OC4J Installation
Using OC4J in an Enterprise or Standalone Environment
Managing Multiple OC4J Instances in an Enterprise Environment
Managing a Single OC4J Instance
OC4J Documentation Set Assumptions
OC4J Communication
HTTP Communication
Requirements
Starting and Stopping the Oracle Enterprise Manager Web Site
Creating or Deleting an OC4J Instance
OC4J Home Page
General and Status
Deployed Applications
Administration
Starting and Stopping OC4J
Testing the Default Configuration
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
Recovering From Deployment Errors
Undeploying Web Applications
3 Advanced Configuration, Development, and Deployment
Configuring OC4J Using Enterprise Manager
OC4J Instance Level Configuration
Application Level Configuration
Overview of OC4J and J2EE XML Files
XML Configuration File Overview
XML File Interrelationships
What Happens When You Deploy?
OC4J Tasks During Deployment
Configuration Verification of J2EE Applications
Understanding and Configuring OC4J Listeners
HTTP Requests
RMI Requests
Configuring Oracle HTTP Server With Another Web Context
Building and Deploying Within a Directory
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
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 and Deploy the JSP
Run welcomeuser.jsp
Running a JSP Page That Invokes a JavaBean
Create the JSP--usebean.jsp
Create the JavaBean--NameBean.java
Run usebean.jsp
Running a JSP Page That Uses Custom Tags
Create the JSP Page--sqltagquery.jsp
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
8 Security
Overview of Security Functions
Provider Types
Using the JAZNUserManager Class
Using the XMLUserManager Class
Specifying Your User Manager
Specifying Users, Groups, and Roles
Shared Groups, Users, and Roles
Application-Specific Groups, Users, and Roles
Specifying Users and Groups in jazn-data.xml
Specifying Users and Groups in XMLUserManager
Permissions
Authenticating HTTP Clients
Authenticating EJB Clients
Setting JNDI Properties
Using the Initial Context Factory Classes
Authorization In J2EE Applications
Specifying Logical Roles in a J2EE Application
Mapping Logical Roles to Users and Groups
Creating Your Own User Manager
Example of Customer User Manager With the DataSourceUserManager Class
9 Oracle9
i
AS Clustering
About Oracle9
i
AS Clustering
Scalability
Availability
Manageability
Component Support
Non-Managed Clustering
Architecture
Front-End Load Balancer
Metadata Repository in the Infrastructure
Farm
Cluster
Application Server Instance
Management Features
Component Instances
J2EE Applications
Enterprise Manager Configuration Tree
Instance-Specific Parameters
Examples
Software Failure
Hardware Failure
State Replication
Cluster Configuration
Managing an Oracle9
i
AS Cluster
Managing Application Server Instances in a Cluster
OC4J Instance Configuration
Configuring Single Sign-On
Configuring Instance-Specific Parameters
A DCM Command-Line Utility (dcmctl)
Overview
About dcmctl Commands and Options
Using dcmctl in a Clustered Environment
Passing Parameters to the JVM
Starting and Stopping
Managing Application Server Instances
Managing Components
Managing Clusters
Deploying Applications
Saving a Backup
Using the dcmctl Shell
Executing dcmctl from a Command File
B 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
Configuration and Deployment Examples
C Third Party Licenses
Apache HTTP Server
The Apache Software License
Apache JServ
Apache JServ Public License
Index
Copyright © 2002 Oracle Corporation.
All Rights Reserved.
Home
Solution Area
Index