Object-oriented approach in requirement engineering for the analysis of information systems

Podobné dokumenty
MODELOVÁNÍ ZNALOSTNÍCH BÁZI DAT POMOCI NÁSTROJE CRAFT.CASE KNOWLEDGE DATABASE MODELING WITH THE TOOL CRAFT.CASE. Vojtěch Merunka

USING VIDEO IN PRE-SET AND IN-SET TEACHER TRAINING

Střední průmyslová škola strojnická Olomouc, tř.17. listopadu 49

Tento materiál byl vytvořen v rámci projektu Operačního programu Vzdělávání pro konkurenceschopnost.

2 Axiomatic Definition of Object 2. 3 UML Unified Modelling Language Classes in UML Tools for System Design in UML 5

Úvod do datového a procesního modelování pomocí CASE Erwin a BPwin

Právní formy podnikání v ČR

Karta předmětu prezenční studium

VYSOKÁ ŠKOLA HOTELOVÁ V PRAZE 8, SPOL. S R. O.

Czech Republic. EDUCAnet. Střední odborná škola Pardubice, s.r.o.

Research infrastructure in the rhythm of BLUES. More time and money for entrepreneurs

ITICA. SAP Školení přehled Seznam kurzů

Project Life-Cycle Data Management

EXACT DS OFFICE. The best lens for office work

Digitální učební materiál

WORKSHEET 1: LINEAR EQUATION 1

Vliv metody vyšetřování tvaru brusného kotouče na výslednou přesnost obrobku

Litosil - application

GUIDELINES FOR CONNECTION TO FTP SERVER TO TRANSFER PRINTING DATA

Návrh a implementace algoritmů pro adaptivní řízení průmyslových robotů

PC/104, PC/104-Plus. 196 ept GmbH I Tel. +49 (0) / I Fax +49 (0) / I I

VY_32_INOVACE_06_Předpřítomný čas_03. Škola: Základní škola Slušovice, okres Zlín, příspěvková organizace

2. Začlenění HCI do životního cyklu software

Mikrokvadrotor: Návrh,

CZ.1.07/1.5.00/ Zefektivnění výuky prostřednictvím ICT technologií III/2 - Inovace a zkvalitnění výuky prostřednictvím ICT

Database systems. Normal forms

Invitation to ON-ARRIVAL TRAINING COURSE for EVS volunteers

Návrh ideální struktury a funkce krajské knihovny Bakalářská práce

Tabulka 1 Stav členské základny SK Praga Vysočany k roku 2015 Tabulka 2 Výše členských příspěvků v SK Praga Vysočany Tabulka 3 Přehled finanční

VŠEOBECNÁ TÉMATA PRO SOU Mgr. Dita Hejlová

BORM-II a BPMN v provozně ekonomických procesech BORM-II and BPMN in operation economic processes

Risk management in the rhythm of BLUES. Více času a peněz pro podnikatele

Energy vstupuje na trh veterinárních produktů Energy enters the market of veterinary products

Digitální učební materiál

The Over-Head Cam (OHC) Valve Train Computer Model

Výuka odborného předmětu z elektrotechniky na SPŠ Strojní a Elektrotechnické

Číslo projektu: CZ.1.07/1.5.00/ Název projektu: Inovace a individualizace výuky

Vánoční sety Christmas sets

Just write down your most recent and important education. Remember that sometimes less is more some people may be considered overqualified.

Petr Bednář managing director

Co vím o Ázerbájdžánu?

Střední průmyslová škola strojnická Olomouc, tř.17. listopadu 49

1, Žáci dostanou 5 klíčových slov a snaží se na jejich základě odhadnout, o čem bude následující cvičení.

Čtvrtý Pentagram The fourth Pentagram

Introduction to MS Dynamics NAV

Vzdálené řízení modelu připojeného k programovatelnému automatu

Immigration Studying. Studying - University. Stating that you want to enroll. Stating that you want to apply for a course.

Immigration Studying. Studying - University. Stating that you want to enroll. Stating that you want to apply for a course.

Introduction to Navision 4.00 Jaromír Skorkovský, MS., PhD.

Kdo jsme Čím se zabýváme Nabídka služeb pro veřejnou správu Ověřeno v praxi u tisíce uživatelů v podnikatelské a bankovní sféře Plně využitelné u

TELEGYNEKOLOGIE TELEGYNECOLOGY

EEA and Norway Grants. Norské fondy a fondy EHP

CHAIN TRANSMISSIONS AND WHEELS

Why PRIME? 20 years of Erasmus Programme Over 2 million students in total Annually

The Military Technical Institute

DC circuits with a single source

CZECH BUSINESS CLUB IN THE UAE 18 TH AUGUST 2014, PRAGUE

Název projektu: Multimédia na Ukrajinské

Inovace řízení a plánování činností s ohledem na požadavky ISO 9001

Stojan pro vrtačku plošných spojů

Aktuální trendy ve výuce a testování cizích jazyků v akademickém prostředí

Metodologie řízení projektů

Social Media a firemní komunikace

SMES-EU D&H-5P Workshop 1. Prague November 2003 V Praze listopadu 2003

Počítačové kognitivní technologie ve výuce geometrie

Mechanika Teplice, výrobní družstvo, závod Děčín TACHOGRAFY. Číslo Servisní Informace Mechanika:

2. Entity, Architecture, Process

Životopis. Osobní údaje. Vzdělání. Zaměstnání. Pedagogická činnost na VŠE v Praze. Vysoká škola ekonomická v Praze

Gymnázium, Brno, Slovanské nám. 7 WORKBOOK. Mathematics. Teacher: Student:

ANGLICKÁ KONVERZACE PRO STŘEDNĚ POKROČILÉ

Role DSO v implementaci GDPR

SoSIReČR Sociální síť informatiků v regionech České republiky, Peter Vojtáš, MFFUK

CZ.1.07/1.5.00/

DATA SHEET. BC516 PNP Darlington transistor. technický list DISCRETE SEMICONDUCTORS Apr 23. Product specification Supersedes data of 1997 Apr 16

Škola: Střední škola obchodní, České Budějovice, Husova 9. Inovace a zkvalitnění výuky prostřednictvím ICT

COMOS Software Solutions

CZ.1.07/1.5.00/

AJ 3_16_Prague.notebook. December 20, úvodní strana

SEZNAM PŘÍLOH. Příloha 1 Dotazník Tartu, Estonsko (anglická verze) Příloha 2 Dotazník Praha, ČR (česká verze)... 91

CZ.1.07/1.5.00/ Zefektivnění výuky prostřednictvím ICT technologií III/2 - Inovace a zkvalitnění výuky prostřednictvím ICT

AIC ČESKÁ REPUBLIKA CZECH REPUBLIC

1 st International School Ostrava-mezinárodní gymnázium, s.r.o. Gregorova 2582/3, Ostrava. IZO: Forma vzdělávání: denní

Škola: Střední škola obchodní, České Budějovice, Husova 9. Inovace a zkvalitnění výuky prostřednictvím ICT

Czech Technical University in Prague DOCTORAL THESIS

Enabling Intelligent Buildings via Smart Sensor Network & Smart Lighting

Drags imun. Innovations

Výukový materiál zpracovaný v rámci operačního programu Vzdělávání pro konkurenceschopnost

Gymnázium, Brno, Slovanské nám. 7, SCHEME OF WORK Mathematics SCHEME OF WORK. cz

Compression of a Dictionary

Projekt: ŠKOLA RADOSTI, ŠKOLA KVALITY Registrační číslo projektu: CZ.1.07/1.4.00/ EU PENÍZE ŠKOLÁM

Jaký programovací jazyk učit jako první a jak ho učit?

WYSIWYG EDITOR PRO XML FORM

Moderní technologie dokončování velmi přesných děr vystržováním a její vliv na užitné vlastnosti výrobků

Tento materiál byl vytvořen v rámci projektu Operačního programu Vzdělávání pro konkurenceschopnost.

Theme 6. Money Grammar: word order; questions

Střední průmyslová škola strojnická Olomouc, tř.17. listopadu 49

SPOLUPRÁCE - KOORDINÁTOR/KA ZAHRANIČNÍCH KURZŮ

Britské společenství národů. Historie Spojeného království Velké Británie a Severního Irska ročník gymnázia (vyšší stupeň)

STŘEDNÍ ODBORNÁ ŠKOLA a STŘEDNÍ ODBORNÉ UČILIŠTĚ, Česká Lípa, 28. října 2707, příspěvková organizace

Enterprise Content Management IBM Corporation

Transkript:

JOURNAL OF FOREST SCIENCE, 51, 2005 (Special Issue): 13 18 Object-oriented approach in requirement engineering for the analysis of information systems V. MERUNKA Faculty of Management, Czech University of Agriculture in Prague, Prague, Czech Republic ABSTRACT: One of the major issues of all analysis techniques in information engineering is to capture the intelligible description of processes in the modeled problem. This need is very significant for information systems supporting modern industries and also information systems related to the agriculture and hydrology. In this area, process modeling forms the basis of Business Process Reengineering as a pre-step for subsequent information system analysis, design and implementation. It provides an essential tool to enable software developers, consultants and business users to collaborate to ensure that the necessary understanding of the business context is available to the software developers. In this paper, practically used technique and methodology for process modeling arousing out of software development methodologies will be discussed. The main described method BORM (Business and Object Relation Modeling), is a result of own research supported by the Know-how Fund of the British Council. Keywords: object-oriented analysis and design; requirement capture technique; process model; business process reengineering; information system development; BORM The attitude of business towards Information Technology (IT) is constantly changing, and increasingly sophisticated. New systems and tools are becoming available. Additionally, there is a constant exchange of ideas between the IT and the business communities, arising out of the development of knowledge-based systems. Today, when modern visual programming tools, combined with the support of rapid web-based application development environments and sophisticated end-user hardware technologies, are available, it would appear that the whole software development process is becoming easier. However, this statement can apply only in those cases where the software complexity of the solution and of the users requirements is relatively small. Yet, many systems have a much higher level of complexity, which make development much more difficult (KOTONYA, SOMMERVILLE 1999). This view is based on our experience with the IT projects we have performed to-date. Rapidly changing regulations, behaviors and the level of the average users skills in using new communication technologies are creating a situation where IT analysts must expect that all system requirements are not known at the start of the project. The problem is even more complicated because the functions of the built information systems have a great impact on the organizational and management structures and on users behavior of target area where the system will be implemented. What are the problems with methodologies? The major problem here arises in the initial stages of the system development cycle (COX 1986; MEYER 1988). The initial stage of any methodologies today should be concerned with two tasks. The first is the specification of the requirements for the system. The second is the construction of an initial object model, often called an essential object or conceptual model, built from of a set of domain specific objects known as essential objects. Both these tasks should be carried out with the active participation of the stakeholders, in order to ensure that the correct system is being developed (DAVIS 1993). Consequently, any Supported by the Ministry of Education, Youth and Sports of the Czech Republic, Research project No. MSM 6046070904. J. FOR. SCI., 51, 2005 (Special Issue): 13 18 13

tools or diagrams used at these early stages should be meaningful to the stakeholders, many of whom are not computer system literate. The most common technique for specification of requirements in current object-oriented methodologies is Use Case modeling, and subsequent use of Sequence, Collaboration and State-Chart Diagrams (FOWLER, KENDAL 1999). This is the foundation of most Object-Oriented development methods. However, this approach is often insufficient by itself to fully support the depths required for initial system specification. Fowler highlights some deficiencies in this approach. GRAHAM says similar ideas (SIMONE, GRAHAM 1999). There are many views on the effectiveness of Use Cases and related tools as a first stage in System Design. SIMONE and GRAHAM for example describe a situation where Use Case Modeling obscures the true business logic of a system. Because of standard UML-based tools are too oriented at the world of programming concepts, other methods for business logic and process modeling appeared: 1. The basic grammar of other process modeling tools is based on Petri Nets. The strengths of this approach are that it is both graphical and has strong mathematical basis. A practical implementation of Petri Nets is EPC diagram of Aris methodology, for example (SHRIVER, WEGNER 1987). 2. Another techniques are based on miscellaneous varieties of flowchart diagrams. This approach is the oldest diagramming technique used in computer science. It was primarily user for visualizing the sequences of operations in computer programs. Today, flowcharts are frequently used to model business processes. A practical implementation of flowcharts is workflow diagram used in Proforma Workbench or FirstStep Business CASE Tools. Indisputably, it is also Activity Diagram of UML (RUMBAUGH et al. 1999). 3. The third technique used here is the use of state machines. These have the theoretical background, as well as Petri Nets. A practical implementation of state machines is state-chart diagram in UML, for example. Indeed, the sequence diagram of UML has features of state machines as well (MELLOR, SHLAER 1993). The overview of all approaches for modeling business logic and processes described here is presented in following table: Our approach The method presented here is Business and Object Relation Modeling (BORM). This method was originally developed to capture knowledge necessary for the development of IT systems, but which has revealed increasing potential for more general knowledge based system development. Work on BORM began in 1993 and was intended to provide seamless support for the building of object-oriented software systems based on pure object-oriented languages, such as Smalltalk, together with pure object databases, such as Gemstone. Today, this method is also recognized for its significant potential to capture knowledge of business processes, business data and business issues. BORM solves problems, when not all system requirements are known at the start of the project and the customer expects that their discovery and refinement will be part of the project. In BORM, it is not difficult to address also the change of these related structures during work on the information systems (KNOTT et al. 2000). The BORM approach is based on the fundamental concept of process modeling combined with strong object-oriented approach. In BORM, any initial analysis diagram supports only problem domain-specific concepts; any software-orientated concepts are left until later in the modeling process. In addition, in the early stages, BORM uses a single diagram that embodies the same information as the numerous diagrams used by other methodologies. This is an attempt to make it easier for the user to form a complete under- Approach Theory behind Advantages Disadvantages EPC Aris UML Activity Diagram UML sequence and state diagram Workflow diagrams Petri Nets flowchart very popular in Europe, perfectly supported by the Aris CASE Tool, easy and comprehensible method for domain experts industry standard, supported by many CASE tools state machine industry standard, supported by many CASE tools flow chart easy and comprehensible method for domain experts, perfectly supported by many business CASE Tools worldwide weak relation at subsequent software development techniques, slow analysis, low expressiveness of large models too software-oriented, difficult to understand by domain experts too software-oriented, difficult to understand by domain experts not very popular in Europe where Aris takes the dominant place, weak relation at subsequent software development techniques 14 J. FOR. SCI., 51, 2005 (Special Issue): 13 18

Fig. 1. Business process as a cooperation of participating objects described by state machines standing of the interaction of the various system components. BORM concepts and their notation change as the development process proceeds. This is in sharp contrast with UML, which claims to be a universal system in that the same notation is used for analysis, design and documenting the implementation (DERR 1995). Our reasons for changing notation are based on the observation that this universality of the UML s notation hinders the design process. In this we are in broad agreement with the criticism of this aspect of UML expressed by SIMONE and GRAHAM (1999). In BORM, every object is viewed as a state machine with states and transitions dependent on the behavior of other objects. Each state is defined by its semantic rule over object data associations and each transition is defined by its behavior, necessary to transform the object from its initial to its terminal state. Consequently, BORM objects have the characteristics of Mealy-type automaton. Business object diagram accents the mutual relationships (communications and associations) of states and transitions of objects in the modeled system (see example in Fig. 1). BORM follows the process-oriented approach, which has proved to be beneficial in software development. Generally, the process-oriented approach lead to a faster and more comprehensive analysis of the problem being solved. In our experience, stakeholders from the problem domain are able to understand the BORM approach very quickly normally a one-hour introduction at the start of analysis is enough. In Deloitte & Touche (Prague office), a business consulting team has worked for the past five years using the BORM system, as well as Aris and other methods. They have found BORM to be on average 3 4 times faster in carrying out the analysis phase, compared to other methods. The methodology is easily acceptable to domain experts, analysis consultants and developers. BORM is based on a step-by-step transformation of the model. In its each phase, only a limited and consistent subset of modeling concepts is used. This concept progression is depicted in Fig. 2. BORM has been used enthusiastically by Smalltalk and Java programmers and by non-relational object database programmers. Today, when improved visual programming tools combined with the support of rapid application development environments are available, it would appear that the whole software development process is becoming easier. This statement is true, however, only for those cases where the complexity of the solu- J. FOR. SCI., 51, 2005 (Special Issue): 13 18 15

Fig. 2. BORM Modeling Concepts Progression tion and of users requirements is relatively simple. Business systems developed for real companies often have a much higher level of complexity which make development much more difficult. Consequently, it is essential (from the software developer s viewpoint) to improve the initial phases of software development. Until recently, it was correctly assumed that conceptual modeling tools and techniques were used through all stages of project development, from the initial phase to the eventual implementation. However, the position of conceptual modeling is currently being used solely in the implementation phase, as a result of the evolution of software development tools. The analysis is now being performed using newly developed techniques and business objects modeling tools. We believe that Object-oriented programming has changed not only system development but also all of computer science. In software development, any team must be well organized, with clear and common goals. Managers of such projects must be clear about the potential benefits, as well as understand the management of Object-oriented development. Object-oriented programming can help in the development of a large system by significantly reducing the developing and maintenance time (TAYLOR 1995). But the adoption of Object-oriented programming requires considerable developments not only in technical knowledge, but also managerial and cultural realignment. Such changes can only be achieved by suitable training, combined with the use of well-designed and easy to use software development tools like those described here. CONCLUSION Currently there is not a standard solution to the problem of gathering and representing business knowledge. Our approach, described here, developed out of business experience and enhanced by graphic models with clear connection towards system development seems to be a promising candidate for such a standard. The approach we propose may serve not only as a tool for formal representation of modeled information, but also as we have demonstrated as a useful tool for communicating with developers and experts from the problem domain (managers, employees, etc.). The key advantages of BORM are its graphic models of knowledge representation, which provides easy and effective feedback. There are also clear rules how to progress through the system development process using this knowledge representation. 16 J. FOR. SCI., 51, 2005 (Special Issue): 13 18

R e f e r e n c e s COX B.J., 1986. Object Oriented Programming An Evolutionary Approach. Boston, Addison-Wesley. DAVIS A., 1993. Software Requirements Objects, Functions and States. London, Prentice Hall. DERR K.W., 1995. Applying OMT A Practical Guide to Using the Object Modelling Technique, Sigs Books. London, Prentice Hall. FOWLER M., KENDALL S., 1999. UML Distilled. 2 nd Edition. Boston, Addison-Wesley. KNOTT R. P., MERUNKA V., POLÁK J., 2000. Process Modeling for Object Oriented Analysis using BORM Object Behavioral Analysis. In: Proceedings of Fourth International Conference on Requirements Engineering ICRE 2000, Chicago 2000. IEEE Computer Society Press: 7 16. KOTONYA G., SOMMER V.I., 1999. Requirements Engineering: Processes and Techniques. New York, J. Wiley and Sons. MELLOR S., SHLAER S., 1993. Object Lifecycles: Modeling the World in States. Cambridge, MIT Press. MEYER B., 1988. Object-Oriented Software Construction. London, Prentice Hall. RUMBAUGH J., JACOBSON I., BOOCH G., 1999. The Unified Modeling Language Reference Manual. Boston, Addison-Wesley. SHRIVER B., WEGNER P., 1987. Research Directions in OOP. Cambridge, MIT Press. SIMONE A.J.H., GRAHAM I., 1999. 30 Things that go wrong in Object Modelling with UML 1.3, chapter 17. In: KILOV H., RUMPE B., SIMMONDS I. (eds.), Behavioral Specifications of Businesses and Systems. Amsterodam, Kluwer Academic Publishers: 237 257. TAYLOR D., 1995. A. Business Engineering with Object Technology. New York, J. Wiley and Sons. Objektově orientovaný přístup v získávání požadavků při analýze informačních systémů V. MERUNKA Provozně ekonomická fakulta, Česká zemědělská univerzita v Praze, Praha, Česká republika ABSTRAKT: Jedním z největších problémů technik analýzy informačního inženýrství je najít srozumitelný popis procesů modelovaného problému. Tato potřeba je charakteristická pro informační systémy moderních průmyslových odvětví a také pro zemědělství a hydrologii. V této oblasti procesní modelování představuje základ pro reinženýring podnikových procesů a také je předstupněm následné analýzy, návrhu a implementace informačních systémů. Je to základní nástroj, který umožňuje spolupracovat tvůrcům softwaru zajistit konzultantům a uživatelům nezbytnou míru shody a porozumění nad kontextem problému. V článku jsou diskutovány prakticky používané techniky a metody procesního modelování, které mají původ v technikách softwarového inženýrství. Hlavní popisovaná metoda BORM (Business and Object Relation Modeling) je výsledkem vlastního výzkumu podporovaného grantovou agenturou Know-how Fund of the British Council. Klíčová slova: objektově orientovaná analýza a návrh; technika záskávání požadavků; procesní model; reinženýring podnikových procesů; projektování informačních systémů; BORM Při práci na velkých projektech se analytici informačních systémů setkávají s problémem, kdy funkčnost budovaných rozsáhlých systémů má vliv na vlastní organizační a řídící strukturu podniku nebo organizace, kam se systém zavádí jsou to například nové či pozměněné pracovní funkce, změna řízení, nová oddělení, nová potřeba legislativní podpory,. Proto je žádoucí se při práci na informačních systémech zabývat i změnou těchto souvisejících struktur. Těmito problémy se zabývá poměrně nedávno konstituovaný obor aplikované informatiky, který je anglicky označován requirement engineering. Běžně používané metody tvorby softwaru, ať už jsou či nejsou objektově orientované, se však bohužel touto problematikou příliš nezabývají a spoléhají na to, že procesy systému, jeho požadovaná funkčnost a role jeho uživatelů jsou známy a ověřeny na počátku projektu a že se v průběhu projektu nebudou měnit. Objektová technologie (OOP) může poměrně jednoduše modelovat jak softwarové systémy, tak i systémy podnikové či organizační. Právě proto, že jedna technologie slouží k modelování obojího, tak lze mo- J. FOR. SCI., 51, 2005 (Special Issue): 13 18 17

delovat podnikový a informační systém ne jako modely dva, ale jako jeden model a změny a vlastnosti procesů přímo promítat do změn a vlastností softwaru a naopak. OOP má všechny předpoklady ke tvorbě takových analýz. Bohužel metodiky a nástroje využívající UML (standard pro objektově orientované projektování) jsou v této oblasti stále na samotném počátku a vesměs předpokládají, že požadavky na informační systém není třeba evaluovat a analyzovat. Uvedené nedostatky se snaží řešit metoda BORM. Metoda BORM (Business and Object Relation Modeling) je vyvíjena postupně od roku 1993. BORM je možné využít nejen ve tvorbě softwaru, ale i k analýze požadavků na projektovaný systém a na modelování business procesů. BORM lze charakterizovat pomocí následujících tří vlastností: 1. BORM je navržen jako metoda, která pokrývá všechny fáze vývoje softwaru. Velká pozornost je v BORMu věnována úvodním fázím projektu a postupům, jak najít objekty v zadaném problému a zkontrolovat jejich správnost. Techniky z těchto fází BORMu lze používat samostatně pro modelování procesů i takových systémů, které nemají přímý vztah k tvorbě softwaru. 2. BORM pro každou jednotlivou fází životního cyklu využívá v diagramech jen omezenou sadu pojmů. Předpokládá se totiž, že během projektování dochází k postupným přeměnám pojmů na jiné. Nejde jen o postupné zvyšování úrovně detailu ve vytvářeném modelu, ale skutečně o řadu transformací modelu v průběhu životního cyklu. 3. V BORMu je každý pojem reprezentován shodnými symboly bez ohledu na to, jestli se jedná např. o diagramy datové struktury nebo komunikací mezi objekty. BORM používá pro znázorňování konceptuálních a softwarových pojmů většinu symbolů shodně s jazykem UML, ale dovoluje v jednom diagramu znázornit například posílání zpráv mezi metodami různých objektů v různých stavech. Tento přístup dovoluje vyjádřit konzistentním způsobem některé žádoucí detaily softwarové konstrukce, které lze výhodně aplikovat především při návrhu pro čistě objektově orientované programovací jazyky. Tento originální způsob nahrazuje tvorbu více od sebe oddělených třídních, stavových a kolaboračních diagramů a také dovoluje zobrazit větší množství spolu souvisejících informací. Corresponding author: Ing. VOJTĚCH MERUNKA, Ph.D., Česká zemědělská univerzita v Praze, Provozně ekonomická fakulta, 165 21 Praha 6-Suchdol, Česká republika tel.: + 420 224 382 272, fax: + 420 224 382 274, e-mail: merunka@pef.czu.cz 18 J. FOR. SCI., 51, 2005 (Special Issue): 13 18