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 129UsecasesThe system shall implement following usecases:1. Add a vendor information2. Add an asset3. Add / remove spare parts for internal filing system4. Generate asset’s documentation5. Revise asset’s information6. Remove a vendor information7. Remove an asset8. Lend an asset9. Search an asset vendor information10. Search for an asset11. Change asset’s configuration12. Return an assetOverview <strong>of</strong> available usecasees is presented on figure 5.175.3.5 ImplementationTRWAM is a desk<strong>to</strong>p application. Users invokes functionality <strong>of</strong> the system usingSwing GUI ( see figure 5.18).The system has several use cases, only one asset related CRUD operation wascompletely implemented - add an asset. The code has only several classes andno unit testing. The only comments that exists in the code are the commentsau<strong>to</strong> generated by Integrated Development Environment (IDE). The project isnot large, but it is sufficient <strong>to</strong> show how <strong>to</strong> implement guidelines.5.4 Application <strong>of</strong> the guidelines1. Convert MVC in<strong>to</strong> LayersApplied SOA pattern: <strong>Service</strong> LayersApplication: MVC architectural pattern consists <strong>of</strong> only three componentsand dependencies between them. Components <strong>of</strong> MVC are translated in<strong>to</strong>

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

Saved successfully!

Ooh no, something went wrong!