difference between COM and SOA


can please tell me difference between component object model , service oriented architeture?

 

what com?

 

component object model (com) binary-interface standard software componet entry introduced microsoft in 1993. used enable interprocess communication , dynamic object creation in large range of programming languages. term com used in microsoft software development industry umbrella term encompasses ole, ole automation, activex, com+ , dcom technologies.

  

microsoft com (component object model) technology in microsoft windows-family of operating systems enables software components communicate. com used developers create re-usable software components, link components build applications, , take advantage of windows services. com objects can created variety of programming languages. object-oriented languages, such c++, provide programming mechanisms simplify implementation of com objects. family of com technologies includes com+, distributed com (dcom) , activex® controls.

 

all com interfaces must derive, directly or indirectly, iunknown interface. within constraint, custom interface can support method or parameter, including asynchronous methods. can generate type library custom interfaces clients can access information object's methods @ run time. after define interface, describe in microsoft interface definition language (midl), compile , register it, use generic interface. distributed com, interface methods available both remote processes , other processes on same computer.

 

service-oriented architecture (soa) definition

 

a service-oriented architecture collection of services. these services communicate each other. communication can involve either simple data passing or involve 2 or more services coordinating activity. means of connecting services each other needed.

 

a service consumer @ right sending service request message service provider @ left. service provider returns response message service consumer. request , subsequent response connections defined in way understandable both service consumer , service provider.

 

soa makes possible business add new features , services without having create them scratch. instead, can added or modified needed, making simple , efficient expand business.

 

 example

 

for example, company sells clothing through online store. after few months of successful sales, company decides add jewelry department. soa component conveniently adds new section store, in case, jewelry. company wants add new shipping options. soa shipping component makes adding new shipping options easy checking few boxes in administrative control panel.

 

initially, company offered e-mail support, later decides adding phone support beneficial. phone support component allows phone representatives customer orders same way e-mail support specialists could.

 



Architecture  >  Architecture General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'