12.07.2015 Views

Migration of a Chosen Architectural Pattern to Service Oriented ...

Migration of a Chosen Architectural Pattern to Service Oriented ...

Migration of a Chosen Architectural Pattern to Service Oriented ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4. <strong>Service</strong> <strong>Oriented</strong> Architecture 851. Adapter – plays a role <strong>of</strong> message converter. An adapter service receives amessage in one format and transforms it <strong>to</strong> another format. Adapters havevery strict role what in turn reduces their potential reuse in both currentand other project.2. Facade – hides underlying complexity and provides unified API which supportsusage <strong>of</strong> underlying basic services. A goo d example is facade utilization<strong>to</strong> hide operation on distributed databases [46].The unified API servesalso as a view, which clarifies usage <strong>of</strong> a part <strong>of</strong> the system by hiding unnecessary(from service cus<strong>to</strong>mer point <strong>of</strong> view) functionality. This type <strong>of</strong>service serves as an additional layer <strong>of</strong> abstraction. This reduces reusability<strong>of</strong> the service. Consequently, Facade is rather project scope service andshould be considered in this way.3. Gateway –Gateway or Technology Gateway is a kind <strong>of</strong> an additional interface,which in opposite <strong>to</strong> a traditional interface (like interface in programminglanguage) serves as an interface between two different technologies. Atfirst glance, it seems that Gateways are unnecessary or redundant especiallywhen the application is designed from scratch. This is not true because SOAby definition assumes usage <strong>of</strong> different technologies from different vendors.Taking advantage <strong>of</strong> Gateways removes the need <strong>of</strong> introduction <strong>of</strong> old technology<strong>to</strong> new system while the new system is integrated with legacy system.As a result, Gateway simplifies achieving <strong>of</strong> technology independence.4.4.3 Process–Enabled SOAThe last and the most complex SOA structure is Process Enabled SOA [46]. Infact it is just an enriched version <strong>of</strong> Networked SOA. The difference between thosetwo versions is that Process Enabled SOA has forth –Process –layer. The layercontains only Process Centric <strong>Service</strong>s which are in one respect very special. ProcessCentric <strong>Service</strong>s are not stateless as the others are. They manage the state inorder <strong>to</strong> handle long living processes or <strong>to</strong> share the state between services. Thisis especially important when an application uses asynchronous communication.Utilising <strong>of</strong> Process Centric <strong>Service</strong>s lighten Application Frontends and bringsthem <strong>to</strong> role <strong>of</strong> User Interface, what increases cohesion <strong>of</strong> single services.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!