Build Management

You're going to be rebuilding and deploying the application frequently during the development of this application, so it behooves you to make that process as easy as possible.

Before you do, you should review the hierarchy of your various directories. On the source side, you have a top-level directory called bfg (Books for Geeks), which has the following structure:

bfg/ ->
  build.xml
  javadoc/ ->
  jsp/ ->
    index.jsp
  props/ ->
    com/ ->
      bfg/ ->
        customer/ ->
          SQLQueries.properties
  src/ ->
    bfg/ ->
      customer/ ->
        Customer.java

build.xml is the build script that you'll be editing. javadoc is a placeholder for the javadoc that you will eventually be producing. jsp holds (you guessed it) the jsp source. Props will store any property files ...

Get MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.