<<
A service inventory is a living body of services that individually will need the freedom to evolve independently over time. What we learned when documenting the SOA design pattern catalog is that there are patterns that emerged not only at design-time but also during this post-implementation evolutionary stage in a service's lifecycle. There is one common scenario that repeatedly surfaced in many projects:
It is in response to this situation that the Service Decomposition pattern provides a technique for splitting up a service after its initial deployment into two or more fine-grained services. Of course, such an approach will raise a few eyebrows from those involved in version control and change management. How can we break apart a service with an established contract without impacting all of the consumer programs that have been using the service and have formed very real runtime dependencies on how it currently exists? To address these issues, the Service Decomposition pattern needs the help of several other SOA design patterns:
When applying these two patterns together with Service Decomposition, the façade logic can also be designed to compensate for a change in behavior that is likely to occur as a result of physically moving a segment of the original service logic into a new location. An important requirement for the decomposition of a service to be successful is that the resulting, more fine-grained services have distinct functional contexts. When modeling and designing these new services, all applicable service-orientation principles and patterns must be considered as with any other new service. Other fundamental patterns, such as Service Normalization, also need to be applied to ensure that the new services properly line up with the others in the existing service inventory. One common problem with post-implementation service decomposition, however, is that a given set of capabilities may not correspond cleanly to the functional contexts of the new services. What this means is that a new service may only require a portion of what the original service capability represents. There are several ways of dealing with this, including a hybrid application of the Proxy Capability pattern where the original service retains some of its logic but then still calls a new service for the portion that now belongs elsewhere. However, there is yet another pattern we can take into account early on during the initial modeling stages of the original service in anticipation of future decomposition requirements. This pattern is called Decomposed Capability and it essentially asks us to think ahead as to how a given coarse-grained service context can be split into multiple finer-grained contexts and to then align the initial service capabilities correspondingly. In the SOA design patterns catalog, the Service Decomposition
pattern is classified as a governance pattern, even though it is very
much related to service design. It is one of those patterns that can
really help augment and streamline an existing collection of services
in continual support of service composition and recomposition.>> You can find this at:
http://searchsoa.techtarget.com/tip/0,289483,sid26_gci1352917_mem1,00.html Gervas | ||||||
- [service-orientated-architecture] Erl & Herbjörn ... Gervas Douglas
- Re: [service-orientated-architecture] Erl & ... Michael Poulin
- Re: [service-orientated-architecture] Erl &a... Michael Poulin
- [service-orientated-architecture] Re: Erl &a... Colin Jack
- Re: [service-orientated-architecture] Re... Herbjörn Wilhelmsen
- [service-orientated-architecture] Re... Colin Jack
- Re: [service-orientated-archite... Herbjörn Wilhelmsen
- Re: [service-orientated-architecture... Michael Poulin
