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 ...

12.07.2015 Views

Chapter 5. Guidelines 126(a) Pipe-and-FiltersFound amount: 1This pattern is used in system processing images.(b) LayersFound amount: 2Used in desktop applications.(c) MVCFound amount: 5Used in desktop and web applications.Beginning number of projects:12Result number of projects:53. The system cannot be build using frameworks supporting MVCThree out of five systems were web applications. Those applications werebuild using web frameworks for JAVA. Found frameworks are following:(a) Spring 1.0 MVC –this framework was applied in two systems.(b) JSF 1.0 –applied in one system.Beginning number of projects:5Result number of projects:2Application of the criteria results in two potential systems for migration. A moredetailed analysis is needed in order to choose the system for migration. Both ofthem are written in Java and have documentation. They are also using MVCarchitectural pattern.Analysis of documentation of one of the project questions usage of MVCpattern in the project because:1. Document describing “Project of the architecture” in point three says that:“Doimplementacji aplikacji klienta przyj ↩eta zostanie architektura MVC (ModelView Controller).” MVC architecture is used to implement client application.2. The “Project of the architecture” document shows that system is composedof database server and client3. Document describing “Design of classes” presents following figure describedas “Architecture of the system”:

Chapter 5. Guidelines 127Concluding, the authors of the system claims that the system is build using MVCpattern but the diagram presenting architecture is Layers, not MVC. Even the figurecontains names like Layer. The diagram contains Top Layer and MiddlewareLayer. The architecture contains no Model, View or Controller names.Consequently, this project cannot be taken as an example project for migration..Beginning number of projects:2Result number of projects:15.3.4 Description of the selected projectThe selected student’s project is meant to support maintenance of IT assets.Name of the system is “TRWAM”. The system is a desktop application written inJava with SWING user interface. The system performs create, read, update anddelete operations (CRUD). The description below presents roughly the system.The information derives from available documentation.VisionAccording to the vision, the system is developed in order to replace an existingsystem. The new system has to have the same functionality as the old, has topreserve standards of data persistence and enable printing of reports. The systemsupports following main activities:1. Maintenance of database of assetsThe system must provide functionality of creating, reading, updating anddeleting information about assets. The asset related information includesfor instance name of the asset and provider of the asset. Search functionalityis also required.2. Support in maintenance of assetsThe system must provide functionality of generation of documents basedon content of database and applied criteria. The documents are associatedwith for instance process of lending (lending form) and removing (protocolof removal) of assets.3. Automation of activities associated with maintenance of assetsThis functionality includes automation of calculations of fees, fines andamortizations. The system should also inform about violation of rule andother incorrectnesses.4. Creation of reports and listingsIt includes creation of reports and listing based on actual state of database.

Chapter 5. Guidelines 127Concluding, the authors <strong>of</strong> the system claims that the system is build using MVCpattern but the diagram presenting architecture is Layers, not MVC. Even the figurecontains names like Layer. The diagram contains Top Layer and MiddlewareLayer. The architecture contains no Model, View or Controller names.Consequently, this project cannot be taken as an example project for migration..Beginning number <strong>of</strong> projects:2Result number <strong>of</strong> projects:15.3.4 Description <strong>of</strong> the selected projectThe selected student’s project is meant <strong>to</strong> support maintenance <strong>of</strong> IT assets.Name <strong>of</strong> the system is “TRWAM”. The system is a desk<strong>to</strong>p application written inJava with SWING user interface. The system performs create, read, update anddelete operations (CRUD). The description below presents roughly the system.The information derives from available documentation.VisionAccording <strong>to</strong> the vision, the system is developed in order <strong>to</strong> replace an existingsystem. The new system has <strong>to</strong> have the same functionality as the old, has <strong>to</strong>preserve standards <strong>of</strong> data persistence and enable printing <strong>of</strong> reports. The systemsupports following main activities:1. Maintenance <strong>of</strong> database <strong>of</strong> assetsThe system must provide functionality <strong>of</strong> creating, reading, updating anddeleting information about assets. The asset related information includesfor instance name <strong>of</strong> the asset and provider <strong>of</strong> the asset. Search functionalityis also required.2. Support in maintenance <strong>of</strong> assetsThe system must provide functionality <strong>of</strong> generation <strong>of</strong> documents basedon content <strong>of</strong> database and applied criteria. The documents are associatedwith for instance process <strong>of</strong> lending (lending form) and removing (pro<strong>to</strong>col<strong>of</strong> removal) <strong>of</strong> assets.3. Au<strong>to</strong>mation <strong>of</strong> activities associated with maintenance <strong>of</strong> assetsThis functionality includes au<strong>to</strong>mation <strong>of</strong> calculations <strong>of</strong> fees, fines andamortizations. The system should also inform about violation <strong>of</strong> rule andother incorrectnesses.4. Creation <strong>of</strong> reports and listingsIt includes creation <strong>of</strong> reports and listing based on actual state <strong>of</strong> database.

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

Saved successfully!

Ooh no, something went wrong!