Chapter 6. Migrating from Oracle WebLogic 131
The second application that we migrate is MVC, which is a J2EE application that includes a
Container Managed Persistence (CMP) - EJB application that runs on WebLogic. The reason
that we select this application is to demonstrate the CMP mappings of EJB objects manually.
We use IBM WebSphere Application Server Migration Tool V3.5 to migrate both the Trade
and MVC applications. We explain the capabilities of the new Migration Toolkit and how to
configure it in 6.4, “Application Migration Tool - WebLogic to WebSphere” on page 133.
Another useful tool that you can use is the Oracle Java Application Verification Kit (AVK). This
tool is intended to help developers test their applications for the correct usage of J2EE APIs
and portability across J2EE. For more information, go to:
6.2 Prerequisites and assumptions
There are prerequisites and assumptions you must consider before you continue with the
migration examples. One basic requirement is that you should have the destination
environment installed and configured as described in Chapter 4, “Installation and
configuration of the Application Migration Tools” on page 89. That chapter provides initial
background knowledge if you are not yet familiar with IBM products.
You should be familiar with the J2EE specification and architecture, and be able to
understand and run basic SQL commands. You should be familiar with Rational Application
Developer V8.5 and Apache Ant. You should also have basic familiarity with Oracle
WebLogic Server 10.3.6.
Install the following software before you start the migration:
Java SE 6
Use Java SE 6 because it is supported by WebSphere Application Server V8.5 and you
must ensure that your applications work in this JVM. Before Java SE 6, the specification
name was Java 2 Platform, Standard Edition (J2SE). The WebSphere Application Server
V8.5 installation includes Java SE 6. You do not need to install additional JDKs on
Apache Ant 1.6.5
Apache Ant is a Java based build tool. It is similar to the Make tool, but has many
enhanced features, so it can be extended using Java classes instead of writing shell
commands, which makes it a good choice for Java applications.
IBM WebSphere Application Server V8.5
Before you migrate to WebSphere Application Server V8.5, explore the sample
applications that are shipped with the product and read the publications that are listed in
“Related publications” on page 437.
WebLogic APIs: Although the samples in the book do not use WebLogic proprietary APIs,
it is possible that your application might depend on APIs that are not available in
WebSphere Application Server. The Migration Toolkit helps with some WebLogic APIs,
such as startup and shutdown classes, but others might require redesign and