This tutorial provides specific information on how to upgrade a BEA WebLogic Integration™ 8.1 (Service Pack 4 or 5) application, to the BEA WebLogic Integration 9.2 environment. This tutorial describes the upgrade scenario using a Process Application sample created in BEA WebLogic Platform™ 8.1.
WebLogic Integration 9.2 is a part of BEA Workshop for WebLogic Platform™ 9.2. This chapter includes the following sections:
You are required to have in depth knowledge of WebLogic Platform, in particular, WebLogic Integration 8.1. The objective of this tutorial is to help you understand and apply the upgrade process to existing applications, when upgrading to WebLogic Integration 9.2. The upgrade process does not change or alter the source application logic and intent in any manner. The process simply upgrades the application for use in the Workshop for WebLogic Platform workspace.
To meet this objective, the steps involved can be grouped as follows:
Create the Application in 8.1 and replace the deprecated APIs for smooth upgrade to 9.2.
Import the Application including all its projects using the wizard.
Involves creating a server with WebLogic Integration domain, deploying and publishing the Application.
Execute the Application using test values, and confirm validity of the upgraded Application by successfully executing a process.
This tutorial has several dependencies for its smooth execution. For example, you require an application from the 8.1 release as the source for the upgrade exercise. Following are some of the requirements for successful execution of the tutorial:
The upgrade process in 9.2 is handled by an import wizard. The wizard does not alter the logic and intent of the existing 8.1 application, nor extract the application from any source repository. It migrates the 8.1 source artifacts into the 9.2 source and project model. However, it retains the 8.1 Javadoc annotations as they do not require any special processing in 9.2. These annotations are also retained to facilitate any manual processing that may be required after upgrading the application.
Following are some of the tasks executed by the import wizard.
For the purpose of this tutorial, you are going to create a Request Quote application in the WebLogic Platform 8.1 Service Pack 5 release. The primary goal of this section is to create an Application in 8.1 and to replace some deprecated APIs for error-free import into the 9.2 release.
Note: | Applications created using Service Pack 4 or 6 can also be upgraded using this tutorial. |
Perform the following steps to create the new application in 8.1.
sampleApp
. The New Application dialog box should appear as displayed in Figure 1-1. public interface Callback extends weblogic.jws.control.ServiceControl
) of the source view as shown in Figure 1-2, replace weblogic.jws.control.ServiceControl
with com.bea.control.Control
. import
weblogic.jws.control.JwsContext
with import
com.bea.control.JwsContext
. Note: | The weblogic.jws.control.ServiceControl and the weblogic.jws.control.JwsContext are deprecated APIs that need to be replaced in all the web services for an error free upgrade to 9.2. |
PriceProcessor.jws
and TaxCalc.jws
.
Your application, sampleApp
is now ready for import using the Workshop for WebLogic Platform 9.2 IDE.