Chapter 4. Service interaction patterns

This chapter covers

  • Remote interaction
  • Local interaction
  • Request response interaction
  • One-way interaction
  • Conversational interaction
  • Callback interaction

Components may interact with one another in different ways. It’s similar to the way we interact with other people. For example, when Mary books a holiday using a travel agent, she may decide to visit them and talk to them directly, she may have to wait for them to call her back with some information, and she will certainly have an ongoing conversation about the holiday she’s booking.

SCA defines common service interaction patterns and makes it simple to create component services and references that exploit them. In this chapter we’ll start by ...

Get Tuscany SCA in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.