Task 1: Review Sample Application Upgrade Procedures

8-4 Oracle Fusion Middleware Upgrade Guide for Oracle SOA Suite, WebCenter, and ADF you open a workspace from a previous version of Oracle JDeveloper, the Migration Wizard automatically upgrades the application to Oracle Fusion Middleware 11g. This important step saves you time and effort in migrating to the newer versions of Java technologies supported by Oracle Fusion Middleware 11g. Use the following steps to open an Oracle JDeveloper 10g workspace in Oracle JDeveloper 11g: 1. Save a copy of the project that you can manage using Oracle JDeveloper 10g Release 3 10.1.3.1.0 in a separate folder or directory on disk. Oracle JDeveloper backs up all your project directories as they are imported and upgraded to Oracle JDeveloper 11g. However, it is still good development practice to back up your work before starting the upgrade process. Note that Oracle JDeveloper does not back up the workspace .jws file, only the project directories. Also, after you open and upgrade the workspace in Oracle JDeveloper 11g, you cannot open the upgraded copy of the workspace in a previous version of Oracle JDeveloper. As a result, if you need to restore your original application or projects, Oracle recommends that you restore your application from your own pre-upgrade backup of the entire application directory structure.

2. Select Open from the File menu and select the Oracle JDeveloper 10g .jws file.

When selecting the workspace file, be sure the application source code is available in a directory location that will always be available. For example, do not attempt to upgrade a project that is stored on a network drive path such as \\110.34.40.43\share\Samples\mysample.jws. Oracle JDeveloper displays Step 1, the Welcome page of the Migration Wizard. 3. Follow the instructions on the screen to migrate the project files and selected Java technologies to Oracle JDeveloper Release 11g and Oracle Fusion Middleware 11g. 4. Review the application migration log files, which are located in the following directory inside the Oracle JDeveloper home directory: On UNIX systems: JDEV_HOME JDeveloperupgradelogs On Windows systems: JDEV_HOME \JDeveloper\upgrade\logs\ Note: You can also upgrade individual Oracle JDeveloper 10g project .jpr files. However, Oracle recommends you take the following steps when upgrading .jpr files: 1. Start Oracle JDeveloper 11g. 2. Create a new application in Oracle JDeveloper 11g. 3. Open the .jpr file from within the application so it becomes a project within the newly created application. Overview of Upgrading Oracle SOA Suite, WebCenter, and ADF Applications 8-5

8.7 Task 7: Locate Specific Upgrade Information for the Components of Your Application

This chapter provides an overview of the steps required to upgrade and redeploy your Oracle SOA Suite, WebCenter, and ADF applications on Oracle Fusion Middleware 11g. However, there are important considerations and upgrade tasks you might need to perform in addition to the general tasks described here. For more information, review the remaining chapters in this guide for any special considerations that affect your Oracle SOA Suite, WebCenter, and ADF applications. The chapters are organized by component and by the various techologies you might have used to develop and deploy your application. As a result, you can refer to the chapters and sections that apply to your specific types of applications.

8.8 Task 8: Review and Recompile the Application

After you have opened the application in Oracle JDeveloper 11g, you should then perform the following tasks:

1. From the Oracle JDeveloper 11g File menu, select Save All to save all the projects

in the selected workspace.

2. From the Build menu, select Make All to recompile all the projects in the

workspace, or right-click one project at a time and select Make project_name. 3. Review the output in the Compiler message panel at the bottom of the Oracle JDeveloper window. 4. For each compilation error, double-click the error icon and review the problem code. For more information, refer to the appropriate developer guide in the Oracle Fusion Middleware 11g documentation library. The Oracle Fusion Middleware 11g documentation library is available at the following location on the Oracle Technology Network OTN: http:www.oracle.comtechnologydocumentation

8.9 Task 9: Redeploy the Application

After you have reviewed the available resources and successfully recompiled the projects in the application, you can then deploy the application on Oracle Fusion Middleware 11g. For more information about deploying applications, refer to the following resources: ■ Oracle Fusion Middleware Deploying Applications to Oracle WebLogic Server, for information about deploying Java EE applications to Oracle WebLogic Server ■ Deploying Fusion Web Applications in the Oracle Fusion Middleware Fusion Developers Guide for Oracle Application Development Framework, for information about deploying Oracle ADF applications ■ Understanding the Deployment Process in the Oracle Fusion Middleware Administrators Guide, for general information about deploying applications in an Oracle Fusion Middleware environment.