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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 5. Guidelines 118pervise up <strong>to</strong> ten students in one semester”. This group may partiallyoverlap with the first group.The first group <strong>of</strong> rules, due <strong>to</strong> its simplicity and framework support (forinstance JSF allows <strong>to</strong> add simple validation rules <strong>to</strong> controls) should beimplemented on a client side. The second group should be included duringcreation <strong>of</strong> process services. The third group <strong>of</strong> requirements can be implementedin logic <strong>of</strong> the system and in database. The code <strong>of</strong> Model shouldbe check in order <strong>to</strong> identify all the code validating business rules (see figure5.8).ViewViewControllerControllerSchemaPolicySchemaBasic <strong>Service</strong>sPolicyBasic <strong>Service</strong>sUtility+ Rules Centralisation =UtilityResourcesResourcesEntityEntityRulesFigure 5.8: <strong>Migration</strong> step 89. Provide inven<strong>to</strong>ry endpoints <strong>to</strong> basic services Applied SOA pattern: Inven<strong>to</strong>ryEndpointHow <strong>to</strong>: Inven<strong>to</strong>ry Endpoint establishes an additional layer <strong>of</strong> abstractioncomposed <strong>of</strong> a set <strong>of</strong> services that serve as facades. The layer contains bothservices that limit access <strong>to</strong> the system (check permissions etc) and servicesthat serve as facades <strong>to</strong> particular inven<strong>to</strong>ries like Canonical Resource. Ingeneral, each inven<strong>to</strong>ry should have at least one endpoint (facade). Operationsprovided by endpoints should be defined by architects. The operationscan be composed <strong>of</strong> only operations from underlying services (see figure 5.9).10. Identify all business processes within the legacy applicationApplied SOA pattern: Process AbstractionHow <strong>to</strong>: Business Process logic describes flow <strong>of</strong> processes within company;therefore all controlling components from Controller should be investigatedin order <strong>to</strong> identify processes. The next source <strong>of</strong> process-related knowledgeis an available documentation. At the moment, all non-controlling

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

Saved successfully!

Ooh no, something went wrong!