IS301 – Software Engineering V:

Slides:



Advertisements
Similar presentations
Chapter 14 Design with Reuse.
Advertisements

IS301 – Software Engineering V:
Chapter 16 – Software Reuse
Chapter 2 – Software Processes Lecture 1 1Chapter 2 Software Processes.
Software Reuse SEII-Lecture 28
Software Reuse Building software from reusable components Objectives
Building software from reusable components.
Course Instructor: Aisha Azeem
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse 2.
Problems with reuse – Increased maintenance costs; lack of tool support; not-invented- here syndrome; creating, maintaining, and using a component library.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 18 Slide 1 Software Reuse.
Software Engineering Muhammad Fahad Khan
Software Reuse Prof. Ian Sommerville
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 14Slide 1 Design with Reuse l Building software from reusable components.
Software Engineering Reuse.
Software Product Families. Generative Programming Main text: Ian Sommerville, Software Engineering, 8 th edition, chapter 18 Additional readings: K. Czarnecki.
Engr. M. Fahad Khan Lecturer Software Engineering Department University Of Engineering & Technology Taxila.
©Ian Sommerville 2000 Software Engineering, 6th edition. Slide 1 Component-based development l Building software from reusable components l Objectives.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse.
Modified by Juan M. Gomez Software Engineering, 6th edition. Chapter 7 Slide 1 Chapter 7 System Models.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 18 Slide 1 Software Reuse.
Software Reuse 1 Dr. Eman Alkhammash Taif University.
Chapter 6 – Architectural Design Lecture 1 1Chapter 6 Architectural design.
Chapter 15 – Software Reuse Chapter 15 Software reuse117/11/2014.
IT323 - Software Engineering 2 1 Tutorial 4.  List the main benefits of software reuse 2.
Chapter 7 Lecture 1 Design and Implementation. Design and implementation Software design and implementation is the stage in the software engineering process.
©Ian Sommerville 2007COTS-based System Engineering Slide 1 COTS-based System Engineering.
Engineering, 7th edition. Chapter 8 Slide 1 System models.
Software Reuse. Objectives l To explain the benefits of software reuse and some reuse problems l To discuss several different ways to implement software.
Rapid Software Development
Chapter 16 – Software Reuse
Distributed Systems Architectures
CompSci 280 S Introduction to Software Development
Socio-technical Systems
Chapter 5 – Requirements Engineering
CS 389 – Software Engineering
IS301 – Software Engineering V:
Critical Systems Specification
IS301 – Software Engineering V:
IS301 – Software Engineering Dept of Computer Information Systems
IS301 – Software Engineering V:
IS301 – Software Engineering V:
Software Reuse ©Ian Sommerville 2006.
Design and Implementation
Abstract descriptions of systems whose requirements are being analysed
IS301 – Software Engineering V:
Chapter 16 – Software Reuse
Software Requirements
Chapter 16 – Software Reuse
Chapter 2 – Software Processes
Service-centric Software Engineering
Software Reuse Objectives
Chapter 5 Designing the Architecture Shari L. Pfleeger Joanne M. Atlee
CSSSPEC6 SOFTWARE DEVELOPMENT WITH QUALITY ASSURANCE
Critical Systems Validation
Component-Based Software Engineering
Chapter 6 – Architectural Design
IS301 – Software Engineering V:
Design and Implementation
Software Development Basic principles.
Chapter 27 Software Change.
Requirements Engineering Processes
Chapter 7 –Implementation Issues
CS310 Software Engineering Lecturer Dr.Doaa Sami
Chapter 16 – Software Reuse
Chapter 5 Architectural Design.
Rapid software development
Chapter 2 Software Processes
Presentation transcript:

IS301 – Software Engineering mailto:mkabay@norwich.edu V: 802.479.7937 Software Re-use IS301 – Software Engineering Lecture #24 – 2004-10-25 M. E. Kabay, PhD, CISSP Assoc. Prof. Information Assurance Division of Business & Management, Norwich University mailto:mkabay@norwich.edu V: 802.479.7937 M. E. Kabay, PhD, CISSP Copyright © 2004 M. E. Kabay. All rights reserved.

Objectives To explain the benefits of software re-use and some re-use problems To discuss several different ways to implement software re-use To explain how reusable concepts can be represented as patterns or embedded in program generators To discuss COTS re-use To describe the development of software product lines

Topics covered The re-use landscape Design patterns Generator based re-use Application frameworks Application system re-use

Software Re-use In most engineering disciplines, systems are designed by composing existing components that have been used in other systems. Software engineering has been more focused on original development but it is now recognized that to achieve better software, more quickly and at lower cost, we need to adopt a design process that is based on systematic software re-use.

Re-use-based software engineering Application system re-use The whole of an application system may be re-used either by incorporating it without change into other systems (COTS re-use) or by developing application families. Component re-use Components of an application from sub-systems to single objects may be re-used. Covered in Chapter 19. Object and function re-use Software components that implement a single well-defined object or function may be re-used. Copyright © 2004 M. E. Kabay. All rights reserved.

Re-use benefits 1

Re-use benefits 2

Re-use problems 1

Re-use problems 2

The Re-use landscape Although re-use is often simply thought of as the re-use of system components, there are many different approaches to re-use that may be used. Re-use is possible at a range of levels from simple functions to complete application systems. The re-use landscape covers the range of possible re-use techniques.

The Re-use landscape

Re-use approaches 1

Re-use approaches 2

Re-use planning factors The development schedule for the software. The expected software lifetime. The background, skills and experience of the development team. The criticality of the software and its non-functional requirements. The application domain. The execution platform for the software.

Application system Re-use Involves the re-use of entire application systems either by configuring a system for an environment or by integrating two or more systems to create a new application. Two approaches covered here: COTS product integration; Product line development.

COTS product Re-use COTS – Commercial Off-The-Shelf systems. COTS systems are usually complete application systems that offer an API (Application Programming Interface). Building large systems by integrating COTS systems is now a viable development strategy for some types of system such as E-commerce systems. The key benefit is faster application development and, usually, lower development costs.

COTS design choices Which COTS products offer the most appropriate functionality? There may be several similar products that may be used. How will data be exchanged? Individual products use their own data structures and formats. What features of the product will actually be used? Most products have more functionality than is needed. You should try to deny access to unused functionality.

E-procurement system

COTS products Re-used On the client, standard e-mail and Web browsing programs are used. On the server, an e-commerce platform has to be integrated with an existing ordering system. This involves writing an adaptor so that they can exchange data. An e-mail system is also integrated to generate e-mail for clients. This also requires an adaptor to receive data from the ordering and invoicing system.

COTS system integration problems Lack of control over functionality and performance COTS systems may be less effective than they appear Problems with COTS system inter-operability Different COTS systems may make different assumptions that means integration is difficult No control over system evolution COTS vendors not system users control evolution Support from COTS vendors COTS vendors may not offer support over the lifetime of the product (project)

Software product lines Software product lines or application families are applications with generic functionality that can be adapted and configured for use in a specific context. Adaptation may involve: Component and system configuration; Adding new components to the system; Selecting from a library of existing components; Modifying components to meet new requirements.

COTS configuration Deployment-time configuration A generic system is configured by embedding knowledge of the customer’s requirements and business processes. The software itself is not changed. Design-time configuration A common generic code is adapted and changed according to the requirements of particular customers.

Product line architectures Architectures must be structured in such a way to separate different sub-systems and to allow them to be modified. The architecture should also separate entities and their descriptions and the higher levels in the system access entities through descriptions rather than directly.

Homework Required By Mon 1 Nov 2004 For 35 points, 18.3 (@4), 18.7 (@6), 18.8 (@20) – in DETAIL with DIAGRAMS 18.10 (@5) – at least 1 paragraph and answer ALL THE QUESTIONS raised in the problem Optional By Mon 8 Nov For a maximum of 14 points, any or all of 18.1 (@2), 18.2 (@2), 18.9 (@10)

DISCUSSION Quiz #3 on Wed 27 Nov. Copyright © 2004 M. E. Kabay. All rights reserved.