Docsity

Transaction Processing System - Banking - Lecture Slides, Slides of Banking and Finance

Partial preview of the text

Download Transaction Processing System - Banking - Lecture Slides and more Slides Banking and Finance in PDF only on Docsity!

Example of a transaction-processing system

The transaction-processing architecture and

design principles

  1. Divide and conquer : The transaction handlers are suitable system divisions that you can give to separate software engineers.
  2. Increase cohesion : Transaction handlers are naturally cohesive units.
  3. Reduce coupling : Separating the dispatcher from the handlers tends to reduce coupling.
  4. Design for flexibility : You can readily add new transaction handlers.
  5. Design defensively : You can add assertion checking in each transaction handler and/or in the dispatcher.

Example of a pipe-and-filter system

The pipe-and-filter architecture and design

principles

  1. Divide and conquer : The separate processes can be independently designed.
  2. Increase cohesion : The processes have functional cohesion.
  3. Reduce coupling : The processes have only one input and one output.
  4. Increase abstraction : The pipeline components are often good abstractions, hiding their internal details.
  5. Increase reusability : The processes can often be used in many different contexts.
  6. Increase reuse : It is often possible to find reusable components to insert into a pipeline.

The Model-View-Controller (MVC)

architectural pattern

An architectural pattern used to help separate the user interface layer from other parts of the system

  • The model contains the underlying classes whose instances are to be viewed and manipulated
  • The view contains objects used to render the appearance of the data from the model in the user interface
  • The controller contains the objects that control and handle the user’s interaction with the view and the model
  • The Observable design pattern is normally used to separate the model from the view

Example of the MVC architecture for the UI

The MVC architecture and design principles

  1. Divide and conquer : The three components can be somewhat independently designed.
  2. Increase cohesion : The components have stronger layer cohesion than if the view and controller were together in a single UI layer.
  3. Reduce coupling : The communication channels between the three components are minimal.
  4. Increase reuse : The view and controller normally make extensive use of reusable components for various kinds of UI controls.
  5. Design for flexibility : It is usually quite easy to change the UI by changing the view, the controller, or both.
  6. Design for testability : You can test the application separately from the UI.

The Service-oriented architectural pattern

This architecture organizes an application as a collection of services that communicates using well- defined interfaces

  • In the context of the Internet, the services are called Web services
  • A web service is an application, accessible through the Internet, that can be integrated with other services to form a complete system
  • The different components generally communicate with each other using open standards such as XML.

The Service-oriented architecture and

design principles

  1. Divide and conquer : The application is made of independently designed services.
  2. Increase cohesion : The Web services are structured as layers and generally have good functional cohesion.
  3. Reduce coupling : Web-based applications are loosely coupled built by binding together distributed components.
  4. Increase reusability : A Web service is a highly reusable component.
  5. Increase reuse : Web-based applications are built by reusing existing Web services.
  6. Anticipate obsolescence : Obsolete services can be replaced by new implementation without impacting the applications that use them.

The Service-oriented architecture and

design principles

  1. Design for portability : A service can be implemented on any platform that supports the required standards.
  2. Design for testability : Each service can be tested independently.
  3. Design defensively : Web services enforce defensive design since different applications can access the service.