Skip to Content
Beginning Spring Framework 2
book

Beginning Spring Framework 2

by Bruce Snyder, Sing Li, Anne Horton, Thomas Van de Velde, Naveen Balani, Christian Dupuis
December 2007
Beginner
499 pages
13h 6m
English
Wrox
Content preview from Beginning Spring Framework 2

Appendix C. Getting Ready for the Code Examples

Perform the following steps to run the PIX system on your machine:

  1. Download Spring.

  2. Start an instance of the HSQLDB database server.

  3. Download and install Tomcat.

  4. Download and compile the source code.

  5. Deploy the web application to Tomcat.

  6. Start Tomcat and access the application.

These steps are described in more detail here:

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

  2. Open a console window. Look into the Spring distribution directory and look for the lib directory. Change directories to the lib directory and then look for the hsqldb directory. Change to the hsqldb directory. In this directory, you should see a file called hsqldb.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
  3. 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.

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

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Beginning Spring

Beginning Spring

Mert Caliskan, Kenan Sevindik, Rod Johnson, Jürgen Höller
Spring Persistence: A Running Start

Spring Persistence: A Running Start

Paul Tepper Fisher, Solomon Duskis

Publisher Resources

ISBN: 9780470101612Purchase book