Friday, September 12, 2008

OC4J Communication

For HTTP applications, OC4J is pre-configured to execute behind Oracle HTTP Server (OHS). In other words, OHS acts as a front-end listener & OC4J acts as a back-end application server.


How does the HTTP communication to OC4J happens?
1. A browser accesses the OHS listener for all HTTP requests.
2. OHS through mod_oc4j passes the request to the OC4J server. The connection between OHS and OC4J uses Apache Jserv Protocol (AJP) on a port number assigned during OC4J startup. AJP is faster than HTTP through the use of binary formats and efficient processing of message headers.

No comments:

Post a Comment