Chapter 1. Introducing Tuscany and SCA
Listing 1.1. The Trips interface definition
Listing 1.2. The implementation class for the TripProvider component
Listing 1.3. The trips.composite file
Listing 1.4. Load the GoodValueTrips contribution and test the TripProvider component
Listing 1.5. The jump-start launcher’s Trips interface definition
Listing 1.6. The tours.composite file
Listing 1.7. The Bookings interface definition
Listing 1.8. The Checkout interface definition
Listing 1.9. The Updates interface definition
Listing 1.10. The implementation class for the TripBooking component
Listing 1.11. The implementation class for the ShoppingCart component
Listing 1.12. The TestClient component implementation
Listing 1.13. Load and test trips.composite and tours.composite
Chapter 2. Using SCA components
Listing 2.1. A Java component implementation class with no SCA annotations
Listing 2.2. Reference injection using fields, setter methods, and constructor parameters
Listing 2.3. Connecting component references and services using wires
Listing 2.4. Using autowire to connect references and services
Listing 2.5. Wiring references with different multiplicities
Listing 2.6. Wiring references with different multiplicities using <wire> elements
Listing 2.7. Wiring references with different multiplicities using autowire
Listing 2.8. Defining properties for a component implementation
Listing 2.9. Configuring property values in component definitions