Java Code Changes for Release 12.2

Upgrading Java Code for the Release 12.2 Technology Components

The technology stack for Oracle E-Business Suite Release 12.2 takes advantage of the latest Oracle technologies for Java. This appendix describes some aspects of the Java code impact due to the changes in the underlying technology components. In particular, the following areas are covered:

If you have custom code from previous Oracle E-Business Suite releases that are affected by these updates, you should update your code to be compatible with the new technology components as part of your upgrade process.

Removal of Oracle Containers for J2EE (OC4J) Dependencies

Because Oracle Containers for J2EE (OC4J) is replaced with Oracle WebLogic Server, any custom Oracle E-Business Suite Java code with OC4J dependencies need to be removed and replaced with the appropriate and available APIs from the new technology components. In addition, be aware that there is an OC4J-specific issue encountered when constructing the MDS directory path.

Listed below are some of the changes you might need to make:

For more information on migrating to Oracle WebLogic Server, refer to:Oracle WebLogic Server .

New JSP Compiler and Removal of OJSP Dependencies

Oracle E-Business Suite Release 12.2 uses the WebLogic JSP compiler, weblogic.appc, to handle the precompilation for Oracle E-Business Suite JSP pages. The WebLogic JSP compiler has stricter syntax rules than OJSP. You should ensure that your custom code adheres to the following rules:

Usage of Java Secure Socket Extension (JSSE) instead of Oracle SSL Library

Oracle E-Business Suite Release 12.2 uses the standard Java Secure Socket Extension (JSSE) instead of the Oracle SSL library. You should update any custom Oracle E-Business Suite Java code to use JSSE.

In particular, in the OC4J based Oracle Application Server (OAS) 10g, there are 3 libraries to supply the needs for SSL as follows:

http_client.jar: which is carried over in OAS 11g Oracle Java Required Files (JRFs)

jssl-1_1.jar: deprecated in 11g

javax-ssl-1_1.jar :deprecated in 11g

To migrate, any Java code needs to be changed if it has the following reference (from the Oracle SSL library):

There is no standard suggested code change solution. However, here are some general recommendations:

For more information, see Primary Note for SSL Configuration in Fusion Middleware 11g, My Oracle Support Document 1218695.1.

Uptake of Oracle Streams Advanced Queuing Release 11g Java APIs

Oracle E-Business Suite Release 12.2 uses Oracle Streams Advanced Queuing Release 11g Java APIs. In Oracle E-Business Suite Releases 12.0 and 12.1, Release 10g Oracle Streams Advanced Queuing Java APIs delivered as part of the OC4J. If any of your custom code uses the 10g Oracle Streams Advanced Queuing Java APIs, you should ensure that it is compatible with the 11g Oracle Streams Advanced Queuing Java APIs.