A New Approach for Code Generation from UML State Machine

Aabidi, My Hafid; Jakimi, Abdeslam; El Kinani, El Hassan; Elkoutbi, Mohammed
February 2013
International Review on Computers & Software;Feb2013, Vol. 8 Issue 2, p500
Academic Journal
The emergence of Unified Modeling Language (UML) as a standard for modeling systems has encouraged the use of automated software tools that facilitate the development process from analysis through coding. The UML state machine diagram is used for modeling the dynamic aspects of systems and includes many concepts that are not present in most popular programming languages, like Java or C++. There exists a gap between high level modeling language and a programming language. This paper proposes an approach to narrow the gap between multiple UML models and an implemented system. The narrowing of gap is achieved by generating compact and efficient Java code directly from UML state machine having sequential and concurrent substates. The code generation is achieved by creating a mapping between UML behavior and the Java programming language. Our model can work as a basis for automatic code generation for object-oriented systems.


Related Articles

  • Comparison of C++ and JAVA in the Context of Object-Oriented Metrics. Chhillar, Rajender Singh // IUP Journal of Computer Sciences;Apr2011, Vol. 5 Issue 2, p39 

    In recent years, we have seen the increasingly emerging object-oriented technologies in software development. And software metrics play a very important role in analyzing the suite of Object- Oriented (OO) design metrics defined in Stroustrup (1991) and Jacobson (1993). The metrics for...

  • JVM helps decade-old Java keep its 'write once, run anywhere' tag. Langley, Nick // Computer Weekly;9/27/2005, p56 

    This article reports that the computer programmable language Java is harder to get a handle on than at any time in its history. The newcomer to Java is like a visitor to a town where everybody knows the bus timetables, so nobody bothers to print them. At Sun Microsystems Inc. in the early 1990s,...

  • A Type-Passing Approach for the Implementation of Parametric Methods in Java. Viroli, Mirko // Computer Journal;2003, Vol. 46 Issue 3, p263 

    Parametric methods are recognized as a very useful tool for reusing code and augmenting the expressiveness of an object-oriented language providing parametric classes. This paper focuses on their implementation techniques for Java. Existing proposals for extending Java with parametric...

  • Java coding: claiming your inheritance. Yates, Darren // APC (Future Publishing Ltd.);Dec2015, Issue 422, p106 

    The article offers information on inheritance, an important part of object-oriented programming and computer program language java coding.

  • Evaluating the Effect of a Delegated versus Centralized Control Style on the Maintainability of Object-Oriented Software. Arisholm, Erik; Sjøberg, Dag I. K. // IEEE Transactions on Software Engineering;Aug2004, Vol. 30 Issue 8, p521 

    A fundamental question in object-oriented design is how to design maintainable software. According to expert opinion, a delegated control style, typically a result of responsibility-driven design, represents object-oriented design at its best, whereas a centralized control style is reminiscent...

  • TYPE VARIABILITY AND COMPLETENESS OF INTERFACES IN JAVA APPLICATIONS. Abdeen, Hani; Shata, Osama // International Journal of Software Engineering & Applications;May2014, Vol. 5 Issue 3, p1 

    Interfaces are widely used as central design elements of Java applications. Although interfaces are abstract types similar to abstract classes, the usage of interfaces in Java applications may considerably differ from the usage of abstract classes. Unlike abstract classes, interfaces are meant...

  • Delta Execution for Efficient State-Space Exploration of Object-Oriented Programs. D'Amorim, Marcelo; Lauterburg, Steven; Marinov, Darko // IEEE Transactions on Software Engineering;Sep/Oct2008, Vol. 34 Issue 5, p597 

    We present Delta Execution, a technique that speeds up state-space exploration of object-oriented programs. State-space exploration is the essence of model checking and an increasingly popular approach for automating test generation. A key issue in exploration of object-oriented programs is...

  • Open-Access Framework for Efficient Object-Oriented Development of Video Analysis Software. Iakovidis, Dimitris K.; Diamantis, Dimitris // Journal of Software Engineering & Applications;Jul2014, Vol. 7 Issue 8, p730 

    The increasing use of digital video everyday in a multitude of electronic devices, including mobile phones, tablets and laptops, poses the need for quick development of cross-platform video software. However current approaches to this direction usually require a long learning curve, and their...

  • An Object Oriented Approach to the Online Simulation of CNC Turning and Milling Machining Operations through Computational Geometry. Malviya, Vikas K.; Jain, Prashant K. // Computer-Aided Design & Applications (Computer-Aided Design & Ap;2013, Vol. 10 Issue 5, p839 

    This paper presents an approach to the simulation of the CNC turning and milling operations. An bject oriented approach is selected as it is perfectly suitable for the development of simulation system .In that approach the problem can be decomposed into objects that are real time entities....


Read the Article


Sorry, but this item is not currently available from your library.

Try another library?
Sign out of this library

Other Topics