THE EVOLUTION OF COMPONENT BASED SOFTWARE ENGINEERING FROM THE TRADITIONAL APPROACH TO CURRENT PRACTICES



Similar documents
Y: A New Component-Based Software Life Cycle Model

Umbrella: A New Component-Based Software Development Model

Elite: A New Component-Based Software Development Model

Component-based Development Process and Component Lifecycle Ivica Crnkovic 1, Stig Larsson 2, Michel Chaudron 3

A Comparision Between Traditional and Component Based Software Development Process Models

TRADITIONAL VS MODERN SOFTWARE ENGINEERING MODELS: A REVIEW

Component Based Development in Software Engineering

CHAPTERS A NEW KNOT MODEL FOR COMPONENT BASED SOFTWARE DEVELOPMENT

Weaving the Software Development Process Between Requirements and Architectures

Component Based Software Engineering: A Broad Based Model is Needed

7 Component-based Development Process and Component Lifecycle

An Overview of Challenges of Component Based Software Engineering

Different Approaches used in Software Product Families

Singhania University, Jhunjhunu, Rajasthan, India. 2 Department of Information Technology King Abdul Aziz University, Jeddah, Saudi Arabia

A Model for Component Based E-governance Software Systems

An Improved Model for Component Based Software Development

SOFTWARE DEVELOPMENT METHODOLOGIES, TRENDS, AND IMPLICATIONS

Peter Mileff PhD SOFTWARE ENGINEERING. The Basics of Software Engineering. University of Miskolc Department of Information Technology

Software Life Cycle Processes

Software Engineering

A Process Model for Software Architecture

Evolving a Ultra-Flow Software Development Life Cycle Model

A. Waterfall Model - Requirement Analysis. System & Software Design. Implementation & Unit Testing. Integration & System Testing.

Software Engineering. Objectives. Designing, building and maintaining large software systems

A Software Engineering Process for Operational Space Weather Systems. S. Dave Bouwer, W. Kent Tobiska Space Environment Technologies

Component-Oriented Engineering

10/4/2013. Sharif University of Technology. Session # 3. Contents. Systems Analysis and Design

Introduction to Software Paradigms & Procedural Programming Paradigm

However, the marketplace for replaceable components is still not at sight due to many

Agile Processes and Methodologies: A Conceptual Study

Outline. Definitions. Course schedule

Life-Cycle Aware Modelling of Software Components

Processing Requirements by Software Configuration Management

Name of pattern types 1 Process control patterns 2 Logic architectural patterns 3 Organizational patterns 4 Analytic patterns 5 Design patterns 6

Development models. 1 Introduction. 2 Analyzing development models. R. Kuiper and E.J. Luit

Reuse and Capitalization of Software Components in the GSN Project

What is a life cycle model?

Lifecycle Models: Waterfall / Spiral / EVO

Lecture Objectives. Software Life Cycle. Software Engineering Layers. Software Process. Common Process Framework. Umbrella Activities

Introduction to Software Engineering

SOFTWARE PROCESS MODELS

A Survey of Software Development Process Models in Software Engineering

(Refer Slide Time: 01:52)

Software Development Life Cycle (SDLC)

How To Write Software

Software Engineering. Software Engineering. Component-Based. Based on Software Engineering, 7 th Edition by Ian Sommerville

Software Development Life Cycle

Software Life Cycle. Main issues: Discussion of different life cycle models Maintenance or evolution

In the IEEE Standard Glossary of Software Engineering Terminology the Software Life Cycle is:

CS 487. Week 8. Reference: 1. Software engineering, roger s. pressman. Reading: 1. Ian Sommerville, Chapter 3. Objective:

Acknowledgement. Software Engineering. CS 3141: Team Software Project Introduction

Retrofitting Security into a Web-Based Information System

Software Project Models

Software Engineering. What is a system?

Agile Methodologies and Its Processes

Overview Component-based Software Engineering State of the Art Report

Reusability of WSDL Services in Web Applications

Keywords Software Engineering, Software cost, Universal models. Agile model, feature of software projects.

2. Analysis, Design and Implementation

UC Santa Barbara. CS189A - Capstone. Christopher Kruegel Department of Computer Science UC Santa Barbara

PROCESS OF MOVING FROM WATERFALL TO AGILE PROJECT MANAGEMENT MODEL

Software Paradigms (Lesson 1) Introduction & Procedural Programming Paradigm

Software Quality Assurance in Agile, XP, Waterfall and Spiral A Comparative Study

A Tool to Support Knowledge Based Software Maintenance: The Software Service Bay

Chapter 1 Introduction

2. Analysis, Design and Implementation

The W-MODEL Strengthening the Bond Between Development and Test

Principles of Software Engineering: Software Methodologies. COSI 120b, Spring 2005

Extend the value of your core business systems.

Managing Standard Components in Large Software Systems

Software Process for QA

Best-Practice Software Engineering: Software Processes to Support Project Success. Dietmar Winkler

A Contrast and Comparison of Modern Software Process Models

C. Wohlin, "Managing Software Quality through Incremental Development and Certification", In Building Quality into Software, pp , edited by

SOFTWARE ENGINEERING IT 0301 Semester V B.Nithya,G.Lakshmi Priya Asst Professor SRM University, Kattankulathur

Module 1. Introduction to Software Engineering. Version 2 CSE IIT, Kharagpur

Classical Software Life Cycle Models

A Software Engineering Model for Mobile App Development

Comparative Study of Agile Methods and Their Comparison with Heavyweight Methods in Indian Organizations

The Role of Agile Methodology in Project Management

A Framework for Software Product Line Engineering

Agile Software Development Methodologies and Its Quality Assurance

Structuring Product-lines: A Layered Architectural Style


Builds. Software. Microsoft. How

11 Tips to make the requirements definition process more effective and results more usable

White Paper IT Methodology Overview & Context

Component-Based Software Engineering: Building systems from Components at 9th IEEE Conference and Workshops on Engineering of Computer-Based Systems

Basic Trends of Modern Software Development

Software Engineering. Software Processes. Based on Software Engineering, 7 th Edition by Ian Sommerville

應 用 測 試 於 軟 體 發 展 生 命 週 期. Testing In The Software Development Life Cycle

Christina Wallin ABB Corporate Research Department of Industrial IT Västerås +46 (0)

Software Engineering. Software Development Process Models. Lecturer: Giuseppe Santucci

To introduce software process models To describe three generic process models and when they may be used

A Management Tool for Component-Based Real-Time Supervision and Control Systems

Software Development Life Cycle & Process Models

COMP 354 Introduction to Software Engineering

Objectives. The software process. Basic software process Models. Waterfall model. Software Processes

Transcription:

International Journal of Engineering and Management Research, Vol. 2, Issue-3, JUNE 2012 ISSN No.: 2250-0758 Pages: 45-52 www.ijemr.net THE EVOLUTION OF COMPONENT BASED SOFTWARE ENGINEERING FROM THE TRADITIONAL APPROACH TO CURRENT PRACTICES U. A. Khan Department of IS, FCIT, King Abdul Aziz University, Jeddah, Kingdom of Saudi Arabia ABSTRACT Reusability is a phenomenon that has been long known. Initially in a low scale, at the levels of functions in the programs, and later in it s alter avatar, in form of Component Based Software Engineering (CBSE). Reusability was the key factor around which CBSE revolved. But later, it was observed that even a more stringent factor was involved that marked CBSE as a pioneer in the Software Development Methodologies - Evolution of Requirements. Evolution of requirements is a natural phenomenon, in the life cycles of the Software Systems in the modern era. As requirements evolve, new features are added and existing features are modified or deleted. To conform to the requirement evolution, the current working version of the implementation also has to change in most cases, to support the changed needs. Where other methodologies felt short to embrace, CBSE seems to harness this fact. In this paper, I have compared the various approaches and methodologies from the traditional times. I then survey some of the popular approaches to CBSE, and provided a comparative discussion among those approaches considering the challenges faced by component based development. I. INTRODUCTION The development of Software Systems has undergone a radical change in the past few decades. In the past times, where traditional approaches were used, the Software was moderate in size as well as complexity. But, as the time progressed, it all changed. In the current scenario, the software is large in size, and the complexity has been drastically enhanced. The requirements and the functionality of the software evolve in a hurry. The traditional approaches have all but failed to deliver the expectations of the deadlines, budgets and quality for such large and complex software systems. Over the past some time, researchers have made it an aspiration to develop means of creating Software in a rapid, efficient and cost effective fashion. In their ambition to excel, the researchers re-defined the perception of the terms Software Re-usability, to the extent where the need for developing software units from the scratch was totally eliminated. The birth of the Component Based Software Engineering gave new directions to meet the challenges posed by the ever evolving Requirements in a Client Centric World. A whole new world of reusable components was aiding the developers in achieving their goals in a faster, more efficient and cost effective manners. It became possible for the developers to engineer new products with the existing ones with little effort and difficulty. The improvement in quality, increase in productivity, efficiency in the management of complex software, and wide variety of reusability [1] attributed to the huge success of Component based Software Engineering. Despite the years and importance, Component Based Software Development (CBSD) is still young concept in the area of Software Engineering. There have been studies relating to the life cycle for CBSD conducted over a period of time, and some methodologies have been developed and employed in the industry. In this paper, I have reviewed the life cycle of the products being developed by Component Based Software Development approach, and try to provide a comparative study on the several popular lifecycles, discussing on their approaches and the differences that have been addressed by these approaches accordingly. 45

1. Comparison of the Data Centric vs the Procedural Approach for Creating Software s In general, most of the Application Software s developed from the very beginning have been Client Server perspective. So it becomes worthwhile to compare the two popular software development lifecycle for developing current and future Client Server Software s: Procedural centric models offer poor encapsulation / abstraction: operations / procedural interfaces don't include testing and responses to requests don't encapsulate data they operate on some data operations have no procedural interface Procedures don't define who is responsible for data they use: who creates, who mutates, who queries who destroys? This make it difficult to re-use code structural models are not bound to operational model many low-level features of use of procedural interface are complex and are not factored out and abstracted in models, hence, the use of a client-server procedural API is synonymous with bottom-up development Data centric models offer a high-level of abstraction and encapsulation operations in model include testing and the responses to a request encapsulate data they operate on data can only be accessed via operations models define who is responsible for data they use - who creates, who mutates, who queries, who destroys Structural models are bound to operational model. Low-level generic features of the implementation are abstracted in the design models. II. REVIEW OF SOME POPULAR SOFTWARE EVELOPMENT METHODOLOGIES With time, the complexity of the software increased exponentially. The effort to develop software s was also required to be compounded, and so, on this account the methodologies have to be developed too. The Software Development Life Cycles have to evolve in a fashion, so as to support the ever increasing complexity of the Software. It is thus appropriate to generally examine different software life cycle models and point out their strengths and weaknesses before an alternative one is put forward. The Waterfall model [2] has been long used by software engineers and has become the most prevalent software life cycle model. This model as shown in Figure 1, initially attempts to identify phases within software development as a linear series of actions, each of which must be completed before the next is commenced. Figure 1: Waterfall Model The Waterfall model is marked by the apparently neat, concise and logical ordering of the series of obvious phases, which must be followed in order to obtain the final software product. Refinements to this model consider that completion is seldom and that iteration back to a previous stage is likely to happen, but it takes no account of bottom-up development and prototyping. The Spiral model [3] makes software development more flexible and has been proposed mainly to speed up software development through prototyping. As shown in Figure 2, Prototyping is the process of building an incomplete piece of software that exhibits some of the most relevant aspects of the final software system. Prototyping provides constructive feedback to designers and potential users so that the system requirements can be clarified and refined early during software development. Evolutionary prototypes provide incremental software development, so that software systems may be gradually developed and tested, allowing major errors to be exposed and corrected early, which means that they are often cheaper to fix, but without effective management to control iterations, this process can degenerate into uncontrollable hacking. 46

Figure 2: Spiral Model Extreme Programming [4] is a deliberate and disciplined approach to software development, which is aimed to solve customer requirement change problem. The methodology is designed to deliver the software your customer needs when it is needed. It is based on four essential values: communication, simplicity, feedback and courage. Unlike other traditional software development models, such as Waterfall, which conducts analysis, design, implementation and testing once in its long development cycle, or Spiral model, which has shorter, iterative development cycles, extreme programming is blending all these activities, a little at a time, throughout the entire software development life process. Figure 3, displays the four circles of Extreme Programming. customers as the product evolves. Many companies also ship preliminary versions of their products, incrementally adding features of functionality over time in various product releases [5]. Microsoft is different in the sense that it has introduced a structured hacker like approach in the development of large-scale software products; projects remain under control because teams of designers and testers frequently integrate and stabilize their improvements. It is truly an example of how to take advantage of the exploding demand for PC software and an effective way to deliver products to a hungry market. Its competitive strategy revolves around identifying mass markets quickly, introducing a product that is good enough to dominate the market rather than waiting until the product is perfect, then upgrading the product continuously. The Twin Peaks model [6] also argues for a concurrent, iterative development of requirements and architecture during software development. It presents a partial and simplified version of the Spiral model that illustrates the distinct, yet intertwined activities of requirements engineering and architectural design. This model allows incremental development with the consequent management of risks, compromises architectural choices to accommodate existing commercial of-the-shelf software (COTS) solutions and because the model focuses on finer-grain development, it is more receptive to rapid changes as they occur. However, one of the main shortcomings of all these models is that none of them explicitly encourages reusability along all their phases. Therefore, a software life cycle model that emphasizes the importance of component reuse during software development is still in demand. Figure 4 displays a sample Twin Peak Model. Figure 4: Twin Peak Model Figure 3: The Four Circles of Extreme Programming A growing number of companies in the software industry including Microsoft are following a process that iterates among design, building components, testing and getting feedback from III. COMPONENT BASED SOFTWARE ENGINEERING The basic unit of CBSE is a component. One widely accepted definition, due to Szyperski[7], is: 47

A software component is a unit of composition with contractually specified interfaces and explicit context dependencies only. A software component can be deployed independently and is subject to composition by third parties. According to a survey [8], a software component model defines what components are (Semantics), how components are defined, constructed, and represented (Syntax), and how components are composed, assembled, or deployed (Composition). A wide variety of different component models have been proposed and developed in the software engineering domain. Two concepts are central to component-oriented development: the component; and, separately, the component model. There are various interpretations of these concepts; cf. e.g. [7] or [12]. The acceptation given to those concepts, and their realization in practice, largely influence the goodness of the approach, the fulfillment of all the application needs of interest, and ultimately, the opportunities for software reuse. Using component-based software engineering (CBSE), applications are composed of reusable components with well defined interfaces and behavior. It has become a commonly used development paradigm. Using CBSE, software systems are built by composition of reusable building blocks called components. In addition to the services provided by a component, also the services required from other components or the environment are specified. Figure 5: CBSD [13] Broadly speaking, there are two types of component-based reuse: 1) The component based software systems that are built with assembling components already developed and prepared for the integration with no change, and 2) Using components already developed with changes to customize the need of the client. Reuse without change means simply selecting a component from a software component database, and dropping it into new software being developed. The cost of developing the component anew is zero! There are, in general, three types of component-based reuse in wide use. One is reuse of most of existing software when developing the next version of the software. Typically, some 60-80 percent of the existing software gets to be reused in this situation. Another is reuse of thirty-party software, such as a sorting package, a database loader, etc. on the market or on the Internet as open source code. A third type of reuse is common functions available in programming language libraries, such as the math functions in the C Programming Library. IV. COMPONENT BASED SOFTWARE EVELOPMENT LIFE CYCLE 48

The development cycle of a component-based system is different from the traditional ones, i.e. the waterfall, spiral and prototype based models. Figure 6 shows a comparison between the traditional waterfall model and the component-based development model. The different steps in the Component Development Process are: 1. Find components which may be used in the system: 2. Select the components which meet the requirements of the system. Figure 6: Comparison between traditional Waterfall model and Component Based Development Model 3. Alternatively, create a proprietary component to be used in the system. 4. Compose and deploy the components using a framework for components. 5. Replace earlier with later versions of components. Somerville has provided a sequential approach for CBSD in [17] as displayed in Figure 7. There are mainly six steps which include: Step 1: The user requirements are developed in outline rather than in detail as specific requirements limit the number of components that might be used. Step 2: A complete outlined set of requirements are used to identify as many components as possible for reuse. Step 3: Requirements are refined and modified so that they can comply with components. Step 4: Architectural design is developed. Step 5: After system architecture is designed, steps 2 and 3 may be repeated. Step 6: Finally the components are integrated which turns into a complete system. Figure 7: The CBSD Process as in [18] V. ISSUE FOR CBSD LIFECYCLE Like any Software Development Life Cycle, there are issues related to CBSD Lifecycle as well. Some of these challenges are listed as below: [14, 15, 16]: Component behavior: System testing and maintenance is difficult for CBSD because: Diverse tracking methods No built-in tracking mechanism for third party components No configuration function for clients. Difficulty in component error isolation: Trace formats and tracking mechanisms are different in components as different developers are involved. It causes inconsistency in tracking mechanism and trace massages which results in difficulty in error detection and isolation of components. Costly performance testing and tuning: Component s performance information is usually not available to testers. So, system testers and integration engineers spend a lot of effort in this to trace out performance problems and responsible components. VI. A COMPARISON OF CBSD MODLES Several Models have been developed for assuring the efficient Software Development using Component Based Software Development approach. A brief discussion of some of them is given below. The V Model is an adaptation of the traditional waterfall model for modular system development. It defines a sequential process consisting of phases for requirements, system specification, system or architectural design, module design, implementation and testing. Implementation consists of coding for the individual modules, and coding for integrating the modules into the entire system using the architectural design for the system. An adaptation of the V Model 49

for CBD that does incorporate the bottom up nature of CBD is that of [18]. Figure 8. Adaptation of the V Model for CBSD However, this adaptation really applies the V Model only to its system life cycle; there is no evidence of the V Model in its component life cycle. Another model by the name of W Model has been used in software testing [19] and product line engineering [20] in the context of traditional (i.e. non-cbd) software engineering. [19] extends the V Model by adding a branch that integrates testing with debugging and code changes. [20] applies the V Model to domain engineering and application engineering in product lines. In the context of CBD, the W Model is similar to standard CBD processes, e.g. [21], [22], [17], [23], in that they both contain separate life cycles for components and systems. However, unlike these processes, its component life cycle is the idealized one, which meets all the CBD desiderata in the literature. In particular the idealized component life cycle defines component composition in both component design and component deployment phases. This emphasis on composition results in compositionality, which is an important property that is beneficial for practical system development, since it enables hierarchical system development and compositional reasoning. Luiz Fernando Capretz, has introduced a new life cycle model for component-based development in [24]. He characterized software creation by change and instability. For this reason his proposed Y (Figure 9) software life cycle model considers over lapping and iteration where necessary. The planned phases for the model are domain engineering, frame working, assembly, archiving, system analysis, design, implementation, testing, deployment and maintenance. Figure 9: The Y Model The main characteristic of this software life cycle model is the emphasis on reusability during software creation and evolution and the production of potentially reusable components that are meant to be useful in future software projects. Reusability implies the use of composition techniques during software development; this is achieved by initially selecting reusable components and assembling them, or by adapting the software to a point where it is possible to pick out components from a reusable library. It is also achieved through inheritance, which is naturally supported by an object-oriented approach [25]. Reusability within this life cycle is smoother and more effective than within the traditional models because it integrates at its core the concern for reuse and the mechanisms to achieve it. Although the Y model initiated different new reusability aspects, still it needs expert knowledge to follow properly as it has no definite way to follow like top-down or bottom up. The research also concentrates on mainly componentbased system development without considering any aspect of process for component development. 50

REFERENCES Table 1: Differences between CBSD Processes VII. CONCLUSION In this paper, I surveyed several lifecycle processes starting from the traditional approach to component-based approach for software development and also provided a comparative discussion about those processes. As the technology of the future, CBSE faces many challenges today. The development life cycle is getting shorter, the software application domains expand rapidly, pressure on the software development costs is enormous and the requirements for integration of different domains are high. At the same time the technology in both software and hardware is changing extremely fast. And to compound it all, the requirements of the clients keep on evolving throughout the lifecycle of the development of the Software. The key to the survival is the capability to manage complexity and rapidly adapting to change. Without a possibility to reuse system components already developed it will be not possible to meet the ever evolving requirements. This means that the development process must change focus from programming intensive activities to reuse, integration, standards, management of complex and flexible structures, finding proper solutions, tradeoff analysis and marketing survey. The goal of CBSE is to standardize and formalize all disciplines supporting activities related to CBD. Success of the CBD approach depends directly on further changes in development procedures, tools, but also developers aptitude and organizational changes. [1] Crnkovic, I., "Component-based software engineering - new challenges in software development", 25th International Conference on Information Technology Interfaces, pp 9-18, June 2003. [2] Royce, W.W., 1987. Managing the development of large software systems. Proceedings of 9 th IEEE International Conference on Software Engineering, pp: 328-338. [3] Boehm, B.W., 1988. A spiral model of software development and enhancement. IEEE Computer, 21: 61-72. [4] Bent, K., 1999. Extreme Programming Explained. Addison-Wesley. [5] Cusumano, M.A. and R.W. Selby, 1997. How Microsoft builds software. Communications of the ACM, 40: 53-61. [6] Nuseibeh, B., 2001. Weaving together requirements and architectures. IEEE Computer, 34: 115-117. [7] C. Szyperski. Component Software: Beyond Object-Oriented Programming. Addison- Wesley, second edition, 2002. [8] K.-K. Lau and Z. Wang. Software component models. IEEE Trans. Software Eng., 33:709 724, 2007. [9] D. C. Schmidt, Model-Driven Engineering, IEEE Computer,vol. 39, no. 2, pp. 25 31, 2006. [10] M. Panunzio and T. Vardanega, On Component-Based Development and High- Integrity Real-Time Systems, in Proc.of the 15th International Conference on Embedded and Real- Time Computing Systems and Applications, 2009. [11] A Component Model for On-board Software Applications, in Proc. of the 36th Euromicro Conference on Software Engineering and Advanced Applications, 2010, pp. 57 64. [12] M. Chaudron and I. Crnkovic, Componentbased software engineering, chapter 18 in H. van Vliet, Software Engineering: Principles and Practice. Wiley, 2008. [13] Brown A. Large-Scale Component-Based Development, Prentice Hall, 2000. [14] Jerry Gao, et al, Monitoring Software Components and Component-Based Software, The 24th Annual International Computer Software & Applications, pp 403-412, 2000. 51

[15] Voas, J. M. and Miller, Keith W.," Software Testability: The New Verification", IEEE Software Vol. 12, No. 3, pp. 17-28, May 1995. [16] Voas, J., Maintaining Component-Based Systems, IEEE Software, Vol.15, Issue 4, pp 22-27, July Aug 1999. [17] Sommerville L., Software Engineering, 7th Edition, Addison Wesley, 2004. [18] I. Crnkovic, M. Chaudron, and S. Larsson. Component-based development process and component lifecycle. Journal of Computing and Information Technology, 13(4):321 327, November 2005. [19] A. Spillner. The W-MODEL strengthening the bond between development and test. In Int. Conf. on Software Testing, Analysis and Review, 2002. http://www.sqe.com/stareast. [20] J.-H. Li, Q. Li, and J. Li. The W-Model for testing software product lines. In International Symposium on Computer Science and Computational Technology, pages 690 693, 2008. [21] B. Christiansson, L. Jakobsson, and I. Crnkovic. CBD process. In I. Crnkovic and M. Larsson, editors, Building Reliable Component- Based Software Systems, pages 89 113. Artech House, 2002. [22] G. Kotonya, I. Sommerville, and S. Hall. Towards a classification model for component-based software engineering research. In Proc. 29th EUROMICRO Conference, pages 43 52. IEEE Computer Society, 2003. [23] I. Crnkovic, M. Chaudron, and S. Larsson. Component-based development process and component lifecycle. In Proc. Int. Conf. on Software Engineering Advances, pages 44 53, 2006. [24] Luiz Fernando Capretz, "Y: A New Component- Based Software Life Cycle Model", Journal of Computer Science, vol.1 (1), pp 76-82, 2005. [25] Capretz, L.F. and M.A.M. Capretz, 1996. Object-Oriented Software: Design and Maintenance. World Scientific Press. 52