O'Reilly logo

MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL by James Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required