The Java EE 5 Tutorial

Building, Packaging, and Deploying Duke’s Bank Using Ant

To compile and package the enterprise beans, application client, and web client into dukesbank.ear, go to the tut-install/javaeetutorial5/examples/dukesbank/ directory of the tutorial distribution and execute the command:


Run the following command to deploy dukesbank.ear:

ant deploy

This task calls the create-tables task to initialize the database tables.