Task 1: Verify that Your Application Deploys and Works Successfully on OC4J

Upgrading Your Java EE Applications 4-3

4.4.2 Guidelines and Resources for Upgrading Deployment Descriptors for Oracle WebLogic Server

To prepare your applications for WebLogic Server deployment, you must remove OC4J-specific deployment descriptors and replace them with their equivalent WebLogic Server specific settings. For a successful deployment, examine each of the deployment descriptors and perform one the following actions for each deployment descriptor feature used by the application: ■ If the OC4J deployment descriptor feature has a direct mapping within the equivalent WebLogic Server specific deployment descriptor, then use the equivalent WebLogic Server descriptor with the appropriate elements and values. ■ If the OC4J deployment descriptor feature does not have a direct mapping, then review the appropriate Oracle WebLogic Server documentation. Features that are not directly mapped to Oracle WebLogic Server deployment descriptors can often be achieved by configuring the WebLogic domain accordingly. Table 4–2 provides a list of documentation resources that will help you upgrade your deployment descriptors to Oracle WebLogic Server. Table 4–1 J2EE, OC4J, and WebLogic Server Deployment Descriptors J2EE Standard Descriptor OC4J Proprietary Descriptor WebLogic Proprietary Descriptor application.xml orion-application.xml weblogic-application.xml web.xml orion-web.xml weblogic.xml ejb-jar.xml orion-ejb-jar.xml weblogic-ejb-jar.xml application-client.xml orion-application-client.xml weblogic-appclient.xml ra.xml oc4j-ra.xml weblogic-ra.xml webservices.xml oracle-webservices.xml weblogic-webservices.xml Table 4–2 Documentation Resources for Upgrading Deployment Descriptors to Oracle WebLogic Server When upgrading to this WebLogic-Specific Deployment Descriptor... Refer to these documentation resources... weblogic-application.xml Enterprise Application Deployment Descriptor Elements in Oracle Fusion Middleware Developing Applications for Oracle WebLogic Server weblogic.xml Appendix A, orion-web.xml and orion-ejb-jar.xml Upgrade Reference provides upgrade advice for each of the deployment descriptor elements in the orion-web.xml and orion-ejb.jar.xml files. weblogic-ejb-jar.xml Appendix A, orion-web.xml and orion-ejb-jar.xml Upgrade Reference provides upgrade advice for each of the deployment descriptor elements in the orion-web.xml and orion-ejb.jar.xml files. weblogic-appclient.xml Client Application Deployment Descriptor Elements in Oracle Fusion Middleware Programming Stand-alone Clients for Oracle WebLogic Server weblogic-ra.xml Configuring the weblogic-ra.xml File in Oracle Fusion Middleware Programming Resource Adapters for Oracle WebLogic Server