
158 Migrating Applications from WebLogic, JBoss and Tomcat to WebSphere V6
Creating a new database schema
The next step is to create the database by importing the database schema that
was created using the EJB to RDB Mapping wizard described previously.
Create the database schema in the wl_xp_ej database by following these steps:
1. Open a DB2 Command Line Processor (CLP) by executing the following
command from a command line window:
db2cmd
2. From the DB2 Command Line Processor (CLP), connect to the DB2 database
and create the database schema with the following commands:
db2 connect to wl_xp_ej user db2admin using its0ral0
db2 -tvf
<rad_workspace>\xpetstore-ejb_EJB\ejbModule ...