Chapter 8. Service antipatterns
- Pitfalls when moving to SOA
- Refactoring the knot
- Granularity of services
We’ve spent several chapters looking at SOA patterns. Antipatterns are the other side of the equation—instead of contexts and solutions, this chapter discusses common pitfalls you’re likely to stumble upon and how to avoid or refactor them. This complementary view is important, because it’s easy to make these mistakes when you’re starting out with SOA, even if you follow guidance such as the patterns we’ve already looked at.
Antipatterns, like patterns, are about contextual wisdom. A discussion of anti-patterns needs to talk both about when a behavior is a problem and when that behavior might be ...