Are there any significant differences between OC4J standalone and the OC4J used inside of Oracle Application Server?
In terms of code, the set of bits that make up OC4J standalone and the OC4J inside of Oracle Application Server are practically identical. If you develop and deploy an application to OC4J standalone, then it will work when deployed to Oracle Application Server. The most predominant difference between the two environments is the configuration. The Oracle Application Server OC4J is configured to run within the Oracle Application Server environment. This means that it is configured with additional class libraries to support the added features of Oracle Application Server such as Portal, it listens for connections on a different range of ports (dynamically allocated by Oracle Application Server), it logs outputs to different directories and files, and it’s default Web listener is configured to talk AJP with mod_oc4j rather than HTTP with a direct browser client. Another difference is the way in which OC4J is administered and managed.
In terms of code, the set of bits that make up OC4J standalone and the OC4J inside of Oracle Application Server are practically identical. If you develop and deploy an application to OC4J standalone, then it will work when deployed to Oracle Application Server. The most predominant difference between the two environments is the configuration. The OC4J instance within an Oracle Application Server environment is configured to run within the broader context of the general Oracle Application Server. This means it is configured with additional class libraries to support the added features of Oracle Application Server such as Portal and Identity Management. It listens for connections on a different range of ports(which are dynamically allocated by Oracle Application Server), it logs outputs to different directories and files, and it’s default Web listener is configured to use the AJP (Apache JServ Protocol) with mod_oc4j rather than HTTP with a direct browser client.
Related Questions
- Can an OHS of Oracle Application Server 10g Release 2 (10.1.2) be used to route requests to Oracle Application Server 10g Release 3 (10.1.3) instance?
- Can a standalone OHS based on Apache 2.0 communicate with an existing Oracle Application Server 10g Release 3 (10.1.3) instance?
- Are there any significant differences between OC4J standalone and the OC4J used inside of Oracle Application Server?