[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [soa-rm-ra] OO vs. SOA and what goes into a service
Careful, message names as service definitions gets into the "S" area. Duane (Semantics) On 1/22/08 3:58 PM, "Danny Thornton" <danny_thornton2@yahoo.com> wrote: > The message names can denote the action to take - > AddResourceRequest and AddResourceResponse for > example. If CRUD operations are performed by a > service, the actions can be realized through CRUD > message types and could be handled by a single > service. You can define real world effects or > constraints for the action/message just like any other > action/message the service may receive. > > In the above model, the interface can have a single > method (like receiveMessage) where the received > message type denotes the action. > > The other model is to have separately named methods in > the service for the actions. > > A real difference for a service and an OO object is > that service functionality is self contained and it > does not flow across the wire, only the information in > the information model flows across the wire. With an > OO object both the data and the functionality of the > object flow across the wire. This is why OO objects > with functionality reak havoc when they are > distributed. For example, I may accept some > distributed OO object and then find out I have to > compile in another 5,000 libraries (that's how it felt > sometimes) to use it because of all the functionality > that came with it. > > Danny > > --- Ken Laskey <klaskey@mitre.org> wrote: > >> Is it fair (or at least not too distorted) to say >> that with OO we >> define an object and look for what we can do to it >> (i.e. its methods) >> while with SOA we identify what we want to do (i.e. >> business >> functions) and then, if appropriate, look for >> objects to do it to? >> >> This gets back to the discussion last October on >> what actions get >> bundled together in a service. From an OO >> perspective, I choose an >> object and then attach CRUD methods. In SOA, would >> the CRUD methods >> individually be things I want to do, each with a >> describable real >> world effect (and possibly policies on who can do it >> and under what >> conditions), and I define services to carry out >> those functions? >> >> Are both perspectives/design approaches equally >> valid? What are the >> implications for description and discovery? >> >> Ken >> >> > ------------------------------------------------------------------------ >> >> ------------------ >> Ken Laskey >> MITRE Corporation, M/S H305 phone: 703-983-7934 >> 7515 Colshire Drive fax: >> 703-983-1379 >> McLean VA 22102-7508 >> >> > > > > > ______________________________________________________________________________ > ______ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > --------------------------------------------------------------------- > To unsubscribe from this mail list, you must leave the OASIS TC that > generates this mail. You may a link to this group and all your TCs in OASIS > at: > https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php > -- ********************************************************************** "Speaking only for myself" Senior Technical Evangelist - Adobe Systems, Inc. Blog - http://technoracle.blogspot.com Community Music - http://www.mix2r.com My Band - http://www.myspace.com/22ndcentury Adobe MAX 2008 - http://technoracle.blogspot.com/2007/08/adobe-max-2008.html **********************************************************************
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]