Chapter 2. Using SCA components
This chapter covers
- Implementing SCA components
- Defining services, references, and properties
- Connecting components using wires and bindings
In the previous chapter we gave a practical introduction to Apache Tuscany and the major technical concepts in SCA, showing how a business application can use SCA and benefit from its capabilities. In this chapter and the next, we’ll cover the essential concepts of SCA in more detail and show you how to use them to develop applications using Tuscany.
As a first step toward building Tuscany applications, you need to be familiar with SCA components, which are the fundamental building blocks for all SCA applications. We start by looking at the relationship between components and their implementations. Next, we’ll show how components provide services themselves and invoke other services using references and wires. We’ll examine how properties are used to customize aspects of a component’s behavior. We will then show how bindings are used to select wire protocols for a component’s services and references, and we’ll finish the chapter by looking at how deployment of components into domains affects the choice of bindings.