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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.