Skip Headers
Oracle Application Server Containers for J2EE Stand Alone User's Guide
10
g
(9.0.4)
Part Number B10323-01
Home
Index
Contents
Title and Copyright Information
Send Us Your Comments
Preface
1 Configuration and Deployment
Introduction to OC4J Standalone
OC4J 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 FAQ Application Demo
Environment Setup for FAQ Demo
OC4J System Configuration for FAQ Demo
Deploy the FAQ Demo
Deployment Details Explained
Deploying Applications
Archive Application into an EAR File
Deployment In a Production Environment Using ADMIN.JAR
Deploy your Application Manually in a Development Environment
Verifying Deployment
Undeploying Web Applications
2 Advanced Configuration, Development, and Deployment
Overview of OC4J and J2EE XML Files
XML Configuration File Overview
XML File Interrelationships
What Happens When You Deploy?
Sharing Libraries
Manually Adding Applications in a Development Environment
Configuring a Listener
Configuring J2EE Applications
Building and Deploying Within a Directory
OC4J Automatic Deployment for Applications
Changing XML Files After Deployment
Designating a Parent of Your Application
Developing Startup and Shutdown Classes
OC4J Startup Classes
OC4J Shutdown Classes
Setting Performance Options
Performance Command-Line Options
Thread Pool Settings
Statement Caching
Task Manager Granularity
Enabling OC4J Logging
Viewing OC4J System and Application Log Messages
Redirecting Standard Out and Standard Error
OC4J Debugging
Servlet Debugging Example
3 Data Sources Primer
Introduction
Definition of Data Sources
Retrieving a Connection From a Data Source
4 Servlet Primer
A Brief Overview of Servlet Technology
What Is a Servlet?
Servlet Portability
The Servlet Container
Request and Response Objects
Learning More About Servlets
Running a Simple Servlet
Create the Hello World Servlet
Deploy the Hello World Servlet
Run the Hello World Servlet
Automatic Compilation
Running a Data-Access Servlet
Create the HTML Form
Create the GetEmpInfo Servlet
Deploy GetEmpInfo and the HTML Page
Run GetEmpInfo
5 JSP Primer
A Brief Overview of JavaServer Pages Technology
What Is JavaServer Pages Technology?
JSP Translation and Runtime Flow
Key JSP Advantages
Overview of Oracle Value-Added Features for JSP Pages
Running a Simple JSP Page
Create and Deploy welcomeuser.jsp
Run welcomeuser.jsp
Running a JSP Page That Invokes a JavaBean
Create the JSP: usebean.jsp
Create the JavaBean: NameBean.java
Deploy usebean.jsp and Namebean.java
Run usebean.jsp
Running a JSP Page That Uses Custom Tags
Create the JSP Page: sqltagquery.jsp
Files for Tag Library Support
Deploy sqltagquery.jsp
Run sqltagquery.jsp
6 EJB Primer
Developing EJBs
Creating the Development Directory
Implementing the Enterprise JavaBeans
Accessing the EJB
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
7 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
Using the XMLUserManager Class
Creating Your Own User Manager
Confidentiality Through SSL
Overview of Using SSL for OC4J Standalone
Configuration of OC4J for SSL
HTTPS Common Problems and Solutions
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
Elements in the application.xml File
Elements in the orion-application.xml File
Elements in the application-client.xml File
Elements in the orion-application-client.xml File
Standalone OC4J Command-Line Options and Properties
Options for the OC4J Server JAR
Options for the OC4J Administration Management JAR
OC4J System Properties
Configuration and Deployment Examples
J2EE Application XML Configuration Example
B Third Party Licenses
Third-Party Licenses
Apache HTTP Server
Apache JServ
Index
Copyright © 2002, 2003 Oracle Corporation.
All Rights Reserved.
Home
Index