Index

Setup Lab to Deploy

These steps assume you are in the appfuse directory.

  1. Copy lib/junit3.8.1/junit.jar to $ANT_HOME/lib.
  2. Edit database.properties to have a user/password for creating a MySQL database.
  3. Setup the database and tomcat using Ant from the command line:
    ant setup-db setup-tomcat
    
  4. Test the database installation using the following command:
    ant test-ejb -Dtestcase=UserDAO
    

    Note: There are no EJBs in this project, it just seemed like a good module name.

  5. Deploy to Tomcat using:
    ant deploy
Slide No: 2