©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 1 Application architectures.

Slides:



Advertisements
Similar presentations
1 Senn, Information Technology, 3 rd Edition © 2004 Pearson Prentice Hall James A. Senns Information Technology, 3 rd Edition Chapter 7 Enterprise Databases.
Advertisements

Chapter 1: The Database Environment
Requirements Engineering Process
Chapter 26 Legacy Systems.
Distributed Systems Architectures
Chapter 10 Architectural Design.
Chapter 26 Legacy Systems.
Chapter 7 System Models.
Chapter 14 Design with Reuse.
Requirements Engineering Process
Chapter 8 Software Prototyping.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
1 Note content copyright © 2004 Ian Sommerville. NU-specific content copyright © 2004 M. E. Kabay. All rights reserved. Application Architectures IS301.
Author: Julia Richards and R. Scott Hawley
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
Chapter 6 – Architectural Design
Making the System Operational
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design 1.
Configuration management
Software change management
Chapter 11: Models of Computation
Software testing.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 31 Slide 1 Service-centric Software Engineering.
Campaign Overview Mailers Mailing Lists
Legacy Systems Older software systems that remain vital to an organisation.
Use Case Diagrams.
Software Requirements
Software Processes.
Database System Concepts and Architecture
Chapter 9: The Client/Server Database Environment
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software processes 2.
Software Processes.
Executional Architecture
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 15 Programming and Languages: Telling the Computer What to Do.
Chapter 10: The Traditional Approach to Design
Systems Analysis and Design in a Changing World, Fifth Edition
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
TCP/IP Protocol Suite 1 Chapter 18 Upon completion you will be able to: Remote Login: Telnet Understand how TELNET works Understand the role of NVT in.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 8 Slide 1 System models.
Modifed from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 12 & 13 Slide 1 Models of Software Architectures.
1 SWE Introduction to Software Engineering Lecture 21 – Architectural Design (Chapter 13)
1 SWE Introduction to Software Engineering Lecture 22 – Architectural Design (Chapter 13)
Application architectures
Course Instructor: Aisha Azeem
Application architectures
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 1 Application architectures.
Chapter 6 – Architectural Design Lecture 2 1Chapter 6 Architectural design.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 System models l Abstract descriptions of systems whose requirements are being.
Chapter 6 Architectural Design.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Slide 1 Ch 13 Application architectures Generic architectures that can be configured and adapted to create a system that meets specific requirements Can.
CS223: Software Engineering
Application architectures Advisor : Dr. Moneer Al_Mekhlafi By : Ahmed AbdAllah Al_Homaidi.
Application architectures 1. Topics covered In the previous chapter, the discussion of system arcitectures focused on architectural issues such as control,
Application architectures. Objectives l To explain the organisation of two fundamental models of business systems - batch processing and transaction processing.
A PPLICATION ARCHITECTURES Chapter 13. O BJECTIVES To explain the organisation of two fundamental models of business systems - batch processing and transaction.
Software architecture
Chapter 6 – Architectural Design
Chapter 6 – Architectural Design
Chapter 6 – Architectural Design
Chapter 6 – Architectural Design
Chapter 6 – Architectural Design
Chapter 5 Architectural Design.
Chapter 6 – Architectural Design
Chapter 5 Architectural Design.
Chapter 6 – Architectural Design
Presentation transcript:

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 1 Application architectures

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 2 Objectives l To explain the organisation of two fundamental models of business systems - batch processing and transaction processing systems l To describe the abstract architecture of resource management systems l To explain how generic editors are event processing systems l To describe the structure of language processing systems

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 3 Topics covered l Data processing systems l Transaction processing systems l Event processing systems l Language processing systems

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 4 Generic application architectures l Application systems are designed to meet an organisational need. l As businesses have much in common, their application systems also tend to have a common architecture that reflects the application requirements. l A generic architecture is configured and adapted to create a system that meets specific requirements.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 5 Use of application architectures l As a starting point for architectural design. l As a design checklist. l As a way of organising the work of the development team. l As a means of assessing components for reuse. l As a vocabulary for talking about application types.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 6 Application types l Data processing applications Data driven applications that process data in batches without explicit user intervention during the processing. l Transaction processing applications Data-centred applications that process user requests and update information in a system database. l Event processing systems Applications where system actions depend on interpreting events from the system’s environment. l Language processing systems Applications where the users’ intentions are specified in a formal language that is processed and interpreted by the system.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 7 Application type examples l Data processing systems Billing systems; Payroll systems. l Transaction processing systems E-commerce systems; Reservation systems. l Event processing systems Word processors; Real-time systems. l Language processing systems Compilers; Command interpreters.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 8 Data processing systems l Systems that are data-centred where the databases used are usually orders of magnitude larger than the software itself. l Data is input and output in batches Input: A set of customer numbers and associated readings of an electricity meter; Output: A corresponding set of bills, one for each customer number. l Data processing systems usually have an input-process-output structure.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 9 Input-process-output model

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 10 Input-process-output l The input component reads data from a file or database, checks its validity and queues the valid data for processing. l The process component takes a transaction from the queue (input), performs computations and creates a new record with the results of the computation. l The output component reads these records, formats them accordingly and writes them to the database or sends them to a printer.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 11 Data-flow diagrams l Show how data is processed as it moves through a system. l Transformations are represented as round- edged rectangles, data-flows as arrows between them and files/data stores as rectangles.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 12 Salary payment DFD

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 13 Transaction processing systems l Process user requests for information from a database or requests to update the database. l From a user perspective a transaction is: Any coherent sequence of operations that satisfies a goal; For example - find the times of flights from London to Paris. l Users make asynchronous requests for service which are then processed by a transaction manager.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 14 Transaction processing

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 15 ATM system organisation

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 16 Transaction processing middleware l Transaction management middleware or teleprocessing monitors handle communications with different terminal types (e.g. ATMs and counter terminals), serialises data and sends it for processing. l Query processing takes place in the system database and results are sent back through the transaction manager to the user’s terminal.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 17 Transaction management

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 18 Information systems architecture l Information systems have a generic architecture that can be organised as a layered architecture. l Layers include: The user interface User communications Information retrieval System database

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 19 Information system structure

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 20 LIBSYS architecture l The library system LIBSYS is an example of an information system. l User communications layer: LIBSYS login component; Form and query manager; Print manager; l Information retrieval layer Distributed search; Document retrieval; Rights manager; Accounting.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 21 LIBSYS organisation

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 22 Resource allocation systems l Systems that manage a fixed amount of some resource (football game tickets, books in a bookshop, etc.) and allocate this to users. l Examples of resource allocation systems: Timetabling systems where the resource being allocated is a time period; Library systems where the resource being managed is books and other items for loan; Air traffic control systems where the resource being managed is the airspace.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 23 Resource allocation architecture l Resource allocation systems are also layered systems that include: A resource database; A rule set describing how resources are allocated; A resource manager; A resource allocator; User authentication; Query management; Resource delivery component; User interface.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 24 Layered resource allocation

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 25 Layered system implementation l Each layer can be implemented as a large scale component running on a separate server. This is the most commonly used architectural model for web-based systems. l On a single machine, the middle layers are implemented as a separate program that communicates with the database through its API. l Fine-grain components within layers can be implemented as web services.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 26 E-commerce system architecture l E-commerce systems are Internet-based resource management systems that accept electronic orders for goods or services. l They are usually organised using a multi-tier architecture with application layers associated with each tier.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 27 Event processing systems l These systems respond to events in the system’s environment. l Their key characteristic is that event timing is unpredictable so the architecture has to be organised to handle this. l Many common systems such as word processors, games, etc. are event processing systems.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 28 Editing systems l Real-time systems (Chapter 15) and editing systems are the most common types of event processing system. l Editing system characteristics: Single user systems; Must provide rapid feedback to user actions; Organised around long transactions so may include recovery facilities.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 29 Editing system components l Editing systems are naturally object-oriented: Screen - monitors screen memory and detects events; Event - recognises events and passes them for processing; Command - executes a user command; Editor data - manages the editor data structure; Ancillary data - manages other data such as styles and preferences; File system - manages file I/O; Display - updates the screen display.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 30 Editing system architecture

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 31 Language processing systems l Accept a natural or artificial language as input and generate some other representation of that language. l May include an interpreter to act on the instructions in the language that is being processed. l Used in situations where the easiest way to solve a problem is to describe an algorithm or describe the system data Meta-case tools process tool descriptions, method rules, etc and generate tools.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 32 A language processing system

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 33 Language processing components l Lexical analyser l Symbol table l Syntax analyser l Syntax tree l Semantic analyser l Code generator

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 34 Data-flow model of a compiler

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 35 Repository model of a compiler

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 36 l Generic models of application architectures help us understand and compare applications. l Important classes of application are data processing systems, transaction processing systems, event processing systems and language processing system. l Data processing systems operate in batch mode and have an input-process-output structure. Key points

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 37 Key points l Transaction processing systems allow information in a database to be remotely accessed and modified by multiple users. l Event processing systems include editors and real-time systems. l In an editor, user interface events are detected and an in-store data structure is modified. l Language processing systems translate texts from one language to another and may interpret the specified instructions.