FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
SOA Web Services Blog: [Podcast] Using WCF for Entity and Activity Services to Implement Business Services
XML & Web Services
<![CDATA[[

Web Services and Smart Data.

by John Dorsey
THE SOFTWARE SIMPLIST

Web Services Wisdom.

by Udi Dahan
December 07, 2007

[Podcast] Using WCF for Entity and Activity Services to Implement Business Services

This week we return to the topic of Entity, Activity, and Process services and compare their usages as top-level SOA elements and as implementation details of the application architecture inside a business service.
And the question that this answers is:

Hi Udi,

We've been having some discussions about how to implement our latest project using SOA and this is what we came up with:

Every activity is a method, which is broken into a class ( Think separation of concerns ), so we get high reusability. On top of those classes we have decided to put a WCF layer, so you can expose the method as a web method. If an activity needs data, then it will access a entity service via WCF. To make the activities useful for the business we put them in a class which we have called processes ( a process layer). A process contains one or more activities and is able to call other processes and activities aren't allowed to call processes or other activities. On top of each process we have decided to put a WCF so the UI can access them.

So it's pretty close to what you wrote about in the Microsoft Architecture Journal except that we don't have direct call to the entity services, we wrap it up in an activity before the call, which is wrapped in a WCF-host. Much like the definitions in Ontology and Taxonomy of Services in a Service-Oriented Architecture

I would love to hear your comments and thoughts about this architecture.

With thanks, Ingo

Download via the Dr. Dobbs' site.

Or download directly here.

Additional References:

Want More?

Check out the "Ask Udi" archives.

Got a question?

Send Udi your question and have him answer it on the show: podcast@UdiDahan.com.

Posted by Udi Dahan at 02:08 AM  Permalink




 
INFO-LINK