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 128S<strong>of</strong>tware Architecture DocumentationThe overview <strong>of</strong> the architecture <strong>of</strong> TRWAM project is presented in the figure5.16: Content (according <strong>to</strong> available documentation) <strong>of</strong> particular elements <strong>of</strong>the architecture is following:1. View – contains packages representing graphical part <strong>of</strong> the system. PackageAssets (SrodkiTrwale) is responsible for proper representation <strong>of</strong> assets onGraphical Usage Interface. Package Commons (Wspolne) contains classesresponsible for common parts <strong>of</strong> Graphical User Interface.2. Controller – here also two packages are available. Package Assets (SrodkiTrwale)contains classes associated with service <strong>of</strong> assets. Package Commons(Wspolne) contains classes common for the whole application like classesmanaging printing.3. Model – represents classes responsible for persistence <strong>of</strong> data in database.Package Assets (SrodkiTrwale) contains classes responsible for persistence <strong>of</strong>assets. Package Commons (Wspolne) contains classes used by other classes.Package Data (Dane) contains classes persisted in database.4. javax.swing – this is a core package <strong>of</strong> Java language containing classesresponsible for displaying GUI.5. java.sql – this is a core package <strong>of</strong> Java language containing classes responsiblefor establishing connection <strong>to</strong> a database. The package allows sendingdata <strong>to</strong> previously connected database.6. javax.print – this is a core package <strong>of</strong> Java language. The package providesprint-relate functionality that allows discovering and selecting printers, setpage format and submit documents <strong>to</strong> selected printer.Rules and Limitations The rules and limitations presented in TRWAM projectare divided in<strong>to</strong> two types:1. Business rules – document contain sixteen business rules. An example rule:An asset can be lent only if the manager <strong>of</strong> unit gave permission.2. Domain constrains – document presents only five domain constrains. Anexample constraint: System can use both PLN and Euro currency.GlossaryThe glossary defines basic vocabulary used <strong>to</strong> describe domain <strong>of</strong> the system.

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

Saved successfully!

Ooh no, something went wrong!