Oracle9i? Application Server v1.0.2.2

Oracle9iAS Containers for J2EE (OC4J)


Oracle9i Application Server (Oracle9iAS) provides a fast, lightweight, highly scalable, and easy-to-use J2EE environment, Oracle9iAS Containers for J2EE (OC4J). OC4J is written entirely in Java and executes on the standard Java Development Kit (JDK) virtual machine. It provides a complete J2EE environment that includes a JSP Translator, a Java Servlet engine and an Enterprise Java Beans (EJB) container.

Oracle9iAS Containers for J2EE (OC4J)

OC4J provides the following key capabilities:

  • Complete J2EE 1.2 API Support: OC4J provides complete support for all J2EE 1.2 APIs, including Enterprise JavaBeans (EJB) 1.1, Servlet 2.2, Java Server Pages (JSP) 1.1, JTA 1.0.1, JNDI 1.2, JMS 1.0,  JDBC 2.0, and JavaMail 1.1.2. 
  • JDK-Based:  This release is certified to run against the standard JDK 1.2.x or JDK 1.3.x.  
  • Lightweight: OC4J requires less than 10 Mb disk space and less than 20 Mb of memory. 
  • Quick Installation and Configuration: OC4J can be installed quickly and easily (literally, less than 2 minutes) and uses standard XML file-based configuration facilitating rapid customization and maintenance. 
  • Ease of Use: Java applications built with any development tool can be deployed against OC4J. OC4J supports standard J2EE deployment packages EAR, WAR, JAR or Client JAR files. Applications deployed with OC4J can be debugged using standard java profiling and debugging capabilities. 
  • High Performance: OC4J is highly optimized, providing extremely fast response times and very high throughput rates. 
  • Availability and Scalability: OC4J provides component clustering, load-balancing, and application state replication (fail-over). 
  • Partial J2EE 1.3 API Support: OC4J provides a partial implementation of J2EE 1.3 APIs, including Public Drafts of both Servlet 2.3 and EJB 2.0 APIs. 
  • Platforms Supported: OC4J is a feature of Oracle9iAS and is available on all standard operating systems and hardware platforms including Solaris, HP-UX, AIX, Tru64, Windows NT and Linux. 


Web Container - Java Servlets

Full support for Servlet 2.2 and significant parts of Servlet 2.3 (Public Draft) including:

  • Full WAR file-based deployment  
  • Automatic compilation and deployment  
  • Stateful failover and cluster deployment  
  • Support for Servlet filters  
  • Support for Servlet Chaining  
  • 100% Compatible with the Tomcat servlet engine  

Web Container - Java Server Pages

Full support for JSP 1.1 including:

  • Simple, body, parameterized, and collaboration tags  
  • JSP caching tags  
  • JSP tag library for Edge Side Includes (JESI)  
  • Mail and database access tags 

Enterprise JavaBeans (EJB) Container

Full support for EJB 1.1 and significant parts of EJB 2.0 (Public Draft) including:

  • Session Beans  
  • Entity Beans with complete container-managed persistence (CMP)  
  • Entity Beans with bean-managed persistence (BMP)  
  • Dynamic EJB stub generation.  
  • Full EAR file based deployment  
  • Simplified configuration customization  
  • Automatic deployment  
  • Hot deployment 
  • Message-Driven Beans  
  • Support for simple and advanced O-R mappings 

Java Database Connectivity Services (JDBC)

Full Oracle and non-Oracle database access via JDBC, including: 

  • Full JDBC 2.0 support 
    • Oracle JDBC-OCI driver (type 2)  
    • Oracle thin JDBC driver (type 4) 
  • Complete data type support  
  • JDBC 2.0 connection pooling  
  • Advanced JDBC Features  
  • Support for Oracle8.0, Oracle8i and Oracle9i Databases 
  • Oracle recommends Merant type 4 JDBC Drivers for access to non-Oracle databases including Informix, Sybase, Microsoft SQL-Server and IBM DB/2.  (These drivers have been tested with Oracle9iAS). 

Infrastructure Services

Full support of the following platform services: 

  • Java Naming and Directory Interface (JNDI)  
  • Java Transaction API (JTA)  
  • Java Messaging Service (JMS)  
  • Java Security Services  
  • RMI and HTTP tunneling services  
  • Web Server to JSP/Servlet Engine connectivity  
  • JSP/Servlet-to-EJB and EJB-to-EJB connectivity  
  • HTTP and HTTP(S) Tunneling 

Embedded SQL in Java (SQLJ) 

Full support for the standard ANSI SQLJ implementation, including:

  • All Oracle JDBC enhancements 
  • Static and Dynamic SQL statements in Java  
  • 1:1 transformation of JDBC programs and logic  
  • Fetches from untyped ResultSetIterator 
  • Omission of iterator declarations 
  • Direct generation of Oracle JDBC code without profile customization  

Configuration and Deployment 

OC4J configuration is XML-based, including:

  • Server Configuration Files 
  • Generic J2EE Application and Component Configuration Files 
  • OC4J-specific Application and Component Configuration Files 

Load Balancing and Availability 

Oracle9iAS provides load balancing at HTTP Server (Apache) or OC4J levels: 

  • Integration with third-party load balancing products  
  • Automatic connection re-routing  
  • Automatic death detection and restart 
  • Transparent application failover  
  • HTTP Clustering 
  • Session state replication and failover 
  • Static IP-based multicast  
  • No single point of failure  


This release of OC4J provides a preview of the following GUI tools:

  • Management Console 
  • WAR file assembler 
  • Tag libraries extension tool 
  • EJB JAR assembler 
  • CMP EJB creation  
  • Application Client JAR assembler 
  • J2EE applications assembler 
  • Launcher for remote (or local) application clients 

Logging Services 

OC4J  provides the following logging services:

  • Web access 
  • Server and Application activities 
  • RMI and JMS activities 

Oracle9iAS Containers for J2EE - Product Requirements

Download Size: 10Mb
Installed Size: 15Mb
Minimum RAM: 20Mb
JDK: 1.2.x, 1.3.x

Oracle9iAS v1.0.2.2 J2EE Implementation
JDBC 2.0 2.0
EJB 1.1 1.1, partial 2.0
Servlet 2.2 2.2, partial 2.3
JSP 1.1 1.1
JMS 1.0 1.0
JNDI 1.2 1.2
JTA 1.0 1.0
JavaMail 1.1 1.1
JAF 1.0 1.0


Oracle9iAS Containers for J2EE deliver the performance, scalability, high availability and ease-of-use to support every successful e-Business today. For more details, see on-line materials located on