Litcius/Paper detail

Automatic Code Generation of MVC Web Applications

Gaetanino Paolone, Martina Marinelli, Romolo Paesani, Paolino Di Felice

2020Computers38 citationsDOIOpen Access PDF

Abstract

As Web applications become more and more complex, the development costs are increasing as well. A Model Driven Architecture (MDA) approach is proposed in this paper since it simplifies modeling, design, implementation, and integration of applications by defining software mainly at the model level. We adopt the The Unified Modeling Language (UML), as modeling language. UML provides a set of diagrams to model structural and behavioral aspects of the Web applications. Automatic translation of UML diagrams to the Object-Oriented code is highly desirable because it eliminates the chances of introducing human errors. Moreover, automatic code generation helps the software designers delivering of the software on time. In our approach, the automatic transformations across the MDA’s levels are based on meta-models for two of the most important constructs of UML, namely Use Cases and classes. A proprietary tool (called xGenerator) performs the transformations up to the Java source code. The architecture of the generated Web applications respects a variant of the well-known Model-View-Controller (MVC) pattern.

Topics & Concepts

Computer scienceUnified Modeling LanguageCode generationProgramming languageWeb applicationApplications of UMLUML toolSoftware engineeringClass diagramJavaModel-driven architectureModeling languageSource codeSoftwareOperating systemKey (lock)Model-Driven Software Engineering TechniquesService-Oriented Architecture and Web ServicesWeb Applications and Data Management
Automatic Code Generation of MVC Web Applications | Litcius