Chapter 3. Creating services using Apache Tuscany
Listing 3.1. SCA composite assembly XML for figure 3.4
Listing 3.2. Example of an SCA composite alternative configuration
Listing 3.3. Java implementation for ProblemTicketComponentImpl
Listing 3.4. Interface used by ProblemTicketComponentImpl
Listing 3.5. CreateTicketComponentImpl reference class
Listing 3.6. Example of using global properties
Listing 3.7. Modified composition illustrating use of embedded XML properties
Listing 3.8. ProblemManagementComposite
Listing 3.9. IssueManagementComposite for creating issue-specific problem tickets
Listing 3.10. SystemErrorComponentImpl.java
Listing 3.11. Starting the SCA embedded domain
Listing 3.12. Using web service binding to specify a remote reference
Listing 3.13. Adding a JMS as an additional binding to a service
Listing 3.14. Assembly for the JMS client used to submit remote requests
Listing 3.15. JMSClientImpl component class
Chapter 4. Advanced SCA
Listing 4.1. Component type file used in lieu of SCA implementation class annotations
Listing 4.2. SessionManager interface class annotated for conversational scope
Listing 4.3. SessionManagerImpl implementation annotated for conversation
Listing 4.4. EventNotificationComponent interface setup for callback support
Listing 4.5. Implementation class for interface EventNotificationComponent
Listing 4.6. Client implementation class
Listing 4.7. Updated composite assembly file for callback example