OC4J – The “Other” Oracle Application Server

How does
extensible markup language relate to the J2EE standalone version of Application
Server? If "extensible markup language" sounds unfamiliar to you, perhaps
you know it better by its acronym of XML. XML matters not to just to the J2EE
version of Application Server, but to all versions. The manner in which XML matters
is fairly significant: many configuration files are XML-based. If your DBA
responsibilities include administering J2EE applications based upon Application
Server, you face the learning hurdles of XML, Java and J2EE, how Oracle
interfaces with Java (OC4J, more on that later), and Application Server itself.
Chances are you have seen XML in action and may not have even noticed it.
Oracle 10g’s staging information uses a file named products.xml instead of

If coming
from a Forms and Reports Services standalone background, the J2EE version will be
somewhat familiar, but even within this "known" territory, there are
many differences. For example, using true or false: all versions of Application
Server are installed using Oracle Universal Installer, so all you ever need to
look for in the "Disk 1" directory is the setup.exe (or runInstaller)
executable? As we will see later on, the answer is false.

article is the first of a multi-part series focusing on Oracle’s more Web-like
version of Application Server, J2EE applications, and XML. Being able to
differentiate the versions of Application Server (what is common, what is
different), basic administration (using XML configuration files), performing a
new type of installation, and acquiring an XML editing tool (free and lasts
forever) are some of the topics that will be covered.

The different flavors of Application Server

version do you need, is it part of a bundle, and does it come in a standalone
version? Part of the answer is shown in the version comparison matrix found
under the Middleware (not Applications) link under "Products" at www.oracle.com (see http://www.oracle.com/appserver/appserver_family.html).

down a bit on the page, the OC4J version shows the following availability by version.

Oracle Application Server Containers for J2EE (OC4J)

Version Availability





Fastest J2EE-certified Java environment with support for
Web services (UDDI, SOAP and WSDL), Fast Start Fault Recovery Architecture,
cluster support for JSPs, servlets, and EJBs, and J2EE-based security





product information for Application Server at OTN, you can expand a list of
features for each version. The two tables below show a consolidated listing for
each type. Common elements are aligned at the top.

Application Server 10g
Release 2

J2EE and Web Cache

Oracle HTTP Server Oracle Application Server Containers
for J2EE (OC4J)

Oracle Application Server Web Cache

Oracle Enterprise Manager 10g Application Server Control

OracleAS Backup and Recovery Tool

Application Server Portal

Application Server Wireless

Sensor Edge Server

Database Server 10g (

Internet Directory

Application Server Single Sign-On

Application Server Directory Integration Provisioning

Application Server Delegated Administration Services

Application Server Certificate Authority

Application Server Forms Services

Application Server Reports Services

Application Server Personalization

Business Intelligence Discoverer

Security Developer Tools

Application Server Guard

Oracle Application Server Containers for J2EE

Oracle HTTP Server Oracle Web Cache

Oracle Enterprise Manager 10g Application Server Control

OracleAS Backup and Recovery Tool

Upgrade Assistant and Upgrade Plug-Ins

Change IP/Host Name Tool

Cloning Scripts

XML Developer’s Kit


Application Server 10g Release 2 ( Standard Edition One

Application Server J2EE Downloads

another example, the Standalone User’s Guide should be available at http://localhost:8888/standaloneguide.pdf.
This URL suggests that where the PDF is located is also the Web server document
root. The root (for me) is C:\oracle\oc4j\j2ee\home\default-web-app, and a
simple test of trying to access other files within the default-web-app
directory should prove this to be true.

Where is
Enterprise Manager for this version of Application Server? Despite Oracle’s Web
site saying this version includes Enterprise Manager, it does not. The next
version up – J2EE and Web Cache – is the minimum version type to get Enterprise

Just for
grins, if you note that the contents of the server.xml file remind you of a
simple HTML file, try opening this (or any) XML file in a browser.

In Closing

So far, we
have seen a listing of the features included in the four types of installation
for Application Server. Applications can be deployed via the standalone OC4J
version, and administration can be performed via the direct editing of (many)
XML files. Knowing the specifics of XML is not necessary, but it certainly
helps to have an appreciation of the who-what-where of what Enterprise Manager
changes when you, as the administrator, are making changes via the EM console.


See All Articles by Columnist
Steve Callan

Steve Callan
Steve Callan
Steve is an Oracle DBA (OCP 8i and 9i)/developer working in Denver. His Oracle experience also includes Forms and Reports, Oracle9iAS and Oracle9iDS.
Get the Free Newsletter!
Subscribe to Cloud Insider for top news, trends & analysis
This email address is invalid.
Get the Free Newsletter!
Subscribe to Cloud Insider for top news, trends & analysis
This email address is invalid.

Latest Articles