Chapter 6. Implementing components using other technologies
This chapter covers
- Using Spring to implement components
- Using BPEL processes to implement components
- Using scripts to implement components
An SCA application is an assembly of components. Each component has an implementation type. In chapter 5 we looked at how you can implement components using the Java language implementation type (implementation.java). In this chapter we’ll look at three more popular implementation types:
- implementation.spring
- implementation.bpel
- implementation.script
Both implementation.bpel and implementation.spring are described in SCA specifications. But implementation.script was created by the Tuscany community and appears in the Tuscany namespace. You can safely skip the implementation types that aren’t of immediate interest to you.
The list of implementation types supported by the Tuscany runtime is growing as the community adds new extensions. Please check the project for the latest supported implementation types. Chapter 14 explains how a new implementation type can be added if the implementation type that you require isn’t already available.
We’ll continue using the Payment composite that we used in the last chapter to explain how Spring, BPEL, and scripting implementation types can be used. Let’s start by looking at how you can use a Spring application context to implement an SCA component.