Appendix C. Getting Ready for the Code Examples
Perform the following steps to run the PIX system on your machine:
Download Spring.
Start an instance of the HSQLDB database server.
Download and install Tomcat.
Download and compile the source code.
Deploy the web application to Tomcat.
Start Tomcat and access the application.
These steps are described in more detail here:
To download Spring go to the following web site:
http://www.springframework.org/
When asked for a choice, make sure you download the "With dependencies" bundle. After you have downloaded this bundle, unzip it into a directory of your choice.
The example in this book has been tested with the 2.0.3 release of the Spring framework. The code should work with all 2.0.x versions of Spring.
Open a console window. Look into the Spring distribution directory and look for the
lib
directory. Change directories to thelib
directory and then look for thehsqldb
directory. Change to thehsqldb
directory. In this directory, you should see a file calledhsqldb.jar
. The HSQL database server is in this jar file. Start an instance of the database using the command:java -cp hsqldb.jar org.hsqldb.Server -database.0 temp -dbname.0 pix
You can find the download of Tomcat at
http://tomcat.apache.org/
.The PIX application has been tested on Tomcat 6.0.13. Download the latest version of Tomcat 6.0.x. Download the core binary distribution, and select the ZIP file. After you have downloaded this file, unzip it into a directory of your choice.
Download the ...
Get Beginning Spring Framework 2 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.