Migrating a Version 4.0 data access application to Version 6.0
Migrating a Version 4.0 data access application to Version 6.0
To use the connection management infrastructure in WebSphere Application Server Version 6.0, package your application as a J2EE 1.3 (or later) application.
This process involves repackaging your Web modules to the 2.3 specification and your EJB modules to the 2.1 specification before installing them onto WebSphere Application Server.
In WebSphere Application Server Version 6.0.x, data sources are intended for use within J2EE applications and designed to operate within the EJB and Web containers.
Create a new EJB Module by selecting File > New > EJB Module .
Add any required class files to the new module.
Right-click Files object and select Add Files.
In the Add Files window click Browse .
Navigate to your WebSphere Application Server 4.0 EAR file and click
Select .
In the upper left pane of the Add Files window, navigate to your enterprise bean JAR file.
Select each of the directories and class files and click Add .
After you add all of the required class files, click OK .
Create your session beans and entity beans. To find help on this subject, see Migrating enterprise bean code to the supported specification, the documentation for Rational Application Developer,
or the documentation for WebSphere Studio Application Developer Integration Edition.
Create a new Application by selecting File > New > Application .
Add each of your EJB modules.
Right-click EJB Modules and select Import.
Navigate to your converted EJB module and click Open .
Click OK .
Add each of your Web modules.
Right-click Web Modules and select Import.
Navigate to your converted Web module and click Open .
Fill in a Context root and click OK.
Identify any other application properties. Click Help for a description of the settings.
Save the EAR file.
Installing the Application on WebSphere Application Server
Install the application, following the instructions in
Installing a new application and bind the resource references to the data source that you created.