Thursday, December 22, 2005
 

SOA and Components

Seems like finally they got it. Read the following statement that is taken from
IBM Developer Works. The page describes an initiative by IBM, BEA and the usual other suspects to build what they call a Service Component Architecture (SCA):

SCA encourages an SOA organization of business application code based on components that implement business logic, which offer their capabilities through service-oriented interfaces and which consume functions offered by other components through service-oriented interfaces, called service references. SCA divides up the steps in building a service-oriented application into two major parts:

The implementation of components which provide services and consume other services

The assembly of sets of components to build business applications, through the wiring of service references to services.

SCA emphasizes the decoupling of service implementation and of service assembly from the details of infrastructure capabilities and from the details of the access methods used to invoke services. SCA components operate at a business level and use a minimum of middleware APIs.


This initiative writes down a couple of important concepts. SOA and CBD are basically the same thing; it depends on the viewpoint whether you put a service or a component into the "middle of the universe". Component implementations should be independent of the middleware technology. Specifically, that means that you can run the same components in the context of different middlewares (e.g. J2EE for production, Spring for testing). And finally, communication in SOAs is not restricted to web services.

Why do I make this a Blog post? Mainly because I have been talking about this view of the (SOA) world for a long time and I am really happy that this seems to catch on in the "industry" now. For example, if you look at my talk about Component Based Development that I gave at the 2005 edition of ICALEPCS you can see this approach all through the slides.

If you combine the SCA approach with MDSD this can get you quite far, as outlined in the presentation I linked to above. I have defined a set of typical metamodels that you can use as a starting point for this kind of architecture.

You start by defining component types and their dependencies as well as data types (not shown). After drawing that diagram and generating the necessary skeleton component implementations, you can start implementing them.



Then you go on by defining collaborations of component instances; they play together to achieve some goal. No mapping to a specific technology, yet, just logical component instances playing together.



Finally, you can go on by deploying these collaborations to certain technical platforms. Based on these three models (plus some technology-specific information that you should incorporate by model-weaving), you can generate all the necessary code to put the component implementations into the infrastructure defined in the deployment model.



In order to allow for multiple compositions of the same component types, and also of several different (technology-)deployments, you must make sure that the dependencies are directed correctly:



So. I think SCA points in the right direction. Combine it with MDSD, and you are on a really good way. We have been using this approach in various projects, and a big international mobile phone company (my current customer) buils their SOA architecture around these concepts.

A final word: Microsoft's WCF (aka Indigo) looks very much the same ... one could get the impression they copied from there (rather than from my slides :-))
 
Comments: Post a Comment

<< Home

back to voelter.de

ABOUT ME
This is Markus Voelter's Blog. It is not intended as a replacement for my regular web site, but rather as a companion that contains ideas, thoughts and loose ends.

ARCHIVES
December 2005 / January 2006 / February 2006 / March 2006 / April 2006 / May 2006 / June 2006 / July 2006 / August 2006 / September 2006 / October 2006 / November 2006 / December 2006 / February 2007 / March 2007 / April 2007 / May 2007 / June 2007 / July 2007 / September 2007 / October 2007 / November 2007 / December 2007 / January 2008 / February 2008 / March 2008 / April 2008 / May 2008 / June 2008 / July 2008 / August 2008 / September 2008 / October 2008 / November 2008 / December 2008 / January 2009 / February 2009 / March 2009 / April 2009 / May 2009 / June 2009 / July 2009 / August 2009 / September 2009 / October 2009 / November 2009 / December 2009 / January 2010 / February 2010 / April 2010 / May 2010 / June 2010 / July 2010 / August 2010 / September 2010 / October 2010 / November 2010 / December 2010 / January 2011 / March 2011 / April 2011 / May 2011 / June 2011 / July 2011 / October 2011 / November 2011 / December 2011 / January 2012 / February 2012 / October 2012 / January 2013 /

FEED
You can get an atom feed for this blog.