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 5. Guidelines 130layers. View becomes View Layer, Controller becomes Controller Layer andModel becomes Model Layer. Connections between particular componentsalso have <strong>to</strong> be reorganized in order <strong>to</strong> minimize dependencies (coupling)between layers. Dependency reduction can be achieved by removing registrationmechanism from Model. This change removes notification functionalitywhat not always is intended.Lack <strong>of</strong> the mechanism eliminates Model ⇾ View and Model ⇾ Controllerdependencies. This change also eliminates transitive dependencies. Additionallythe View ⇾ Model dependency needs <strong>to</strong> be removed In case <strong>of</strong> themigrated project.Output projects: Frontend, ProncessAbstraction<strong>Service</strong> and Basic Ser- vices.The Frontend project is meant <strong>to</strong> contain all GUI related code. Pro- cess-Abstraction<strong>Service</strong> is meant <strong>to</strong> contain BPEL. Basic <strong>Service</strong>s project is atemporary project that is meant <strong>to</strong> contain code that cannot be copied <strong>to</strong>any <strong>of</strong> the existing services. This project will be deleted at the end. Thecode from this project will be further transformed in<strong>to</strong> services.2. Chose main communication pro<strong>to</strong>colApplied SOA pattern: Canonical Pro<strong>to</strong>colApplication Project meant for adaptation is not a mission critical system.The system is also used only within university by very limited group <strong>of</strong>people and any external user (non-university IP) does not have any access<strong>to</strong> the application. Therefore a standard HTTP plus SOAP messagingis applied for project migration. Besides, technologies like RosettaNet orWebShare tie architects <strong>to</strong> vendors, while SOAP and HTTP are vendorindependent.Output: Communication pro<strong>to</strong>col: SOAP over http3. Unify used schemasApplied SOA pattern: Canonical SchemaApplication: In order <strong>to</strong> simplify schema maintenance following name notationis used:(a) name <strong>of</strong> a namespace have <strong>to</strong> refer <strong>to</strong> the name <strong>of</strong> lower layer whennamespace contains definitions <strong>of</strong> information used in communicationbetween two layers. For instance information used in communicationbetween Process Abstraction and Canonical Resource will be placedin a namespace referring <strong>to</strong> Canonical Resource.(b) schema is divided in<strong>to</strong> a set <strong>of</strong> sub–schemas. Each <strong>of</strong> sub–schemas definesone “main” complex type and a set <strong>of</strong> related types. In case <strong>of</strong> AssetDAO,the main complex type is Asset and related types are: Com-

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

Saved successfully!

Ooh no, something went wrong!