Today's J2EE server market can be described as a hundred flowers. This article mainly introduces the characteristics and configuration methods of OC4J (Oracle Application Server Containers for J2EE), which is provided by Oracle as J2EE's Container, written by pure Java language. It is necessary to emphasize that according to my personal experience, OC4J is definitely a very reliable server, there is no problem in enterprise applications! First, what is the latest version of OC4J? It is OC4J 10g (9.0.4). Second, is OC4J by J2EE compatibility certified product? Yes, Oracle has obtained J2EE technology from Sun (http://java.sun.com/j2ee/licenses.html), andoc4j also passed J2EE compatibility certified products, refer to J2EE compatibility list (http : //java.sun.com/j2ee/compaticility.html can also get details from the Sun's website. Third, how different OC4J versions are related to the J2EE version? Product version compatible J2EE version OC4J 9.0.4 J2EE 1.3 OC4J 9.0.3 J2EE 1.3 OC4J 9.0.2 J2EE 1.2 OC4J 1.0.2.x J2EE 1.2 four, which version of J2SE can match OC4J? All official certification information for Oracle products can be obtained by Oracle Technical Support Website http://metalink.oracle.com. Product version J2SE version OC4J 9.0.4 J2se 1.4.x, J2se 1.3.x OC4J 9.0.3 J2SE 1.4.x, J2se 1.3.x OC4J 9.0.2 J2SE 1.3.x, J2SE 1.2.x OC4J 1.0.2.x J2SE 1.3.1, j2se 1.2.x V. What is OC4J standalone version? The OC4J standalone version is a member of the Oracle Application Server product family, including J2EE and Web service components. The OC4J standalone is slightly smaller than the complete Oracle application server product, and only one zip file will be downloaded. It is implemented as a single Java process. OC4J standalone is compatible with J2EE1.3, which can be used to develop and run small-scale products. The OC4J standalone provides an embedded HTTP / S listener that allows the client to run the published application. OC4J standalone version of the application publishes the configuration of the server, you need to manually edit a few XML files. Large-scale enterprise release, Oracle Application Server Products may be more suitable for it to adapt to extensive enterprise needs (rather than OC4J independent version), which can make program control and performance management, and configuration, management console . Sixth, what is the significant difference between Oracle stand-alone and OC4J within the Oracle Application Server? In terms of code, constructing an OC4J standalone version of the unit set is almost the same as OC4J within the Oracle application server. If you develop and publish an app in the OC4J standalone version, this program can also run well on the Oracle application server. The most important difference between these two environments is configured.
Oracle Application Server OC4J is configured in an Oracle application server environment. It means that the Oracle application server is similar to an entry, which is an additional feature, providing support by additional class libraries. It listens to the connection between different ports (Oracle Application Server Dynamic Score), log outputs to different files and directories, and its default web listener uses mod_oc4j, can communicate with AJP protocol, and better browse the client directly. Another way differs in control and managing OC4J. In an Oracle Application Server environment, OC4J is configured as part of the complete application server technology, using Oracle Enterprise Application Manager, or with an equivalent command line tool, DCMCTL. Direct to the XML configuration file is not a preferred solution, although the configuration can be completed. Application release also uses Oracle Enterprise Explorer Actions, or with command line tools. OECLE Application Server OC4J startup and stops also operates automatic management as part of the Oracle application server instance. In contrast, the OC4J standalone version of operation, release, and management work greatly dependent on manual editing XML files. The command line tool does not apply to the OC4J standalone version. Admin.jar, able to use a set of commands to perform multiple tasks, but these commands cannot be applied to the Oracle Application Server Environment. For more Oracle Application Server OC4J configuration information, please refer to the OC4J standalone user guide. For more OC4J standalone configuration information, please refer to the OC4J standalone user guide for the operational line tool admin.jar. Seven, where can I see the OC4J document? All Oracle products can find http://otn.oracle.com/Documentation/content.html on the OTN website. More detailed OC4J documents at http://otn.oracle.com/documentation/appserver10g.html. OC4J Separate User Guide is available in the OC4J Class. The readme.txt file provides some basic information about installing and use in the root directory of the OC4J standalone version. Eight, where can I find a list about OC4J performance? The best place for OC4J technical information is the OC4J technology area http://otn.oracle.com/tech/java/oc4j on OTN. OC4J's characteristic overview at http://otn.oracle.com/tech/java/oc4j/904/collateral/oc4j-fov-904.html, list all features of OC4J 10g (9.0.4). Nine, where can I get more information about OC4J? Oh, let's talk about it. OTN website http://otn.oracle.com/tech/java/oc4j. (Please pay attention! Quote, transfer this article to note: rosen Jiang and the source: http://blog.9cbs.net/ROSEN