What’s on the CD
To make it easy for you to learn on your own, the CD that comes with this book provides all the software that you need, including:
(1) The Java SDK (Software Development Kit), version 1.4, that contains the Java compiler and runtime environment that you need for developing servlets.
(2) The Tomcat servlet and JSP engine, version 4.0, which lets you run servlets and JSPs on your own PC.
(3) The MySQL database software, version 3.23; a MySQL driver; and a Java class that implements a connection pool. This software lets you create servlets and JSPs that use a MySQL database.
(4) The SQL scripts for the databases. You can run these scripts to create the databases that are used by the applications in this book.
(5) A trial version of the TextPad and HomeSite text editors. That way, you can use TextPad to work with Java classes such as servlets, and you can use HomeSite to work with HTML and JSP documents.
(6) The source code for all of the examples and applications presented in this book. That way, you can test this code on your own PC and modify it to see how the changes work.
To help you install these components, chapter 2 shows you how to install Tomcat, and appendix A shows you how to install the rest.
To work with newer versions of Java and Tomcat: Since the publication of this book in February 2003, there have been several new releases of Tomcat and one major release of Java. So if you want to download newer releases from the Java and Tomcat websites instead of using the versions on the CD, please see the update information that we've prepared. It identifies any changes
that you need to make to the applications, examples,
and exercises in the book in order to get them to work with later software releases.
To work with newer versions of MySQL: There have also been several new
releases of MySQL since 2003. So if you've installed release 4.1 or later, the SQL
scripts for the databases on the CD won't work properly. To solve
this problem, you can
download updated versions of these scripts. Then, you
can run these scripts instead of the ones that are on the
CD.
|