
Chapter 6. Migrating from BEA WebLogic 151
2. Build xPetstore EJB by running build.bat from the following directory (you
may want to check what is the value of your JAVA_HOME variable and reset
it in the build.bat file if necessary):
<source_home>\xpetstore-ejb
Ant will use the default target all to build the application. This makes Ant perform
the following tasks:
1. Clean the build directory by removing any temporary files.
2. Run XDoclet, which generates source code and deployment descriptors.
3. Compile all source code.
4. Create a jar file containing EJBs.
5. Create a WAR file containing the Web application.
6. Create an EAR file <source_home>\dist\xpetstore-ejb ...