Appendix A. Setting up
This chapter is a hands-on guide for getting you started with Tuscany and the examples that are used in this book. Here we’ll talk about how to install Tuscany and set up the environment necessary to run and test the book examples and to develop your own SCA applications. We also give a brief overview of the Tuscany project so that you can navigate the website and interact with the Tuscany community.
Installing Tuscany is simple: Download a Tuscany release and a Java JDK. The JDK is used to compile and run Java programs. Let’s get started by first getting the Tuscany prerequisites.
Running Tuscany SCA Java 1.x is dependent on JDK version 5.0 or later. The Tuscany samples can be run out of the box with Apache Ant and Apache Maven. To set up a development environment and run samples, follow these steps:
1. Download and install Java Development Kit (JDK) version 5 or later.
2. Download and install Apache Ant version 1.7.1 or later.
3. Download and install Apache Maven version 2.0.7 or later.
Now that you have the Tuscany prerequisites in place, you’ll install Tuscany itself.