Beginning Spring Framework 2
by Bruce Snyder, Sing Li, Anne Horton, Thomas Van de Velde, Naveen Balani, Christian Dupuis
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
libdirectory. Change directories to thelibdirectory and then look for thehsqldbdirectory. Change to thehsqldbdirectory. 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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access