Enterprise WAE: A Lightweight UML Extension for the Characterization of the Presentation Tier of Enterprise Applications with MDD-Based Mockup Generation

Author(s):  
Humberto Cortés ◽  
Antonio Navarro

Nowadays, the Unified Modeling Language (UML) is the most successful notation for the design of object-oriented applications. However, plain UML is not enough to characterize the web presentation tier of enterprise applications, including the navigational, structural and role-based access control (RBAC) features present in these applications. In this paper, we present Enterprise Web Application Extension (E-WAE), a lightweight UML extension for the modeling of these elements, which permits the inclusion of multitier, Service-Oriented Architecture (SOA) and security design-level patterns in the models. Our approach follows a Model-Driven Development (MDD) approach, which enables the automatic generation of intermediate platform-specific models and automatic code generation for JavaServer Faces (JSF) and Active Server Pages.NET Model-View-Controller (ASP.NET MVC) frameworks. In addition, this generated code can be used as a low-cost mockup for early client validation of the navigational, structural and RBAC features of enterprise applications. E-WAE has been used with different applications. In this paper, we refer to the checkout process in the Amazon website, the delete resources use case in OdAJ2EE, an educational application developed by us, and the US Library of Congress Online Catalog search facility as examples of its applicability.

Author(s):  
Giorgio Colombo ◽  
Caterina Rizzi ◽  
Giancarlo Facoetti ◽  
Andrea Vitali

This paper presents a software module, named tracking plug-in, developed to automatically generate the source code of software interfaces for managing the interaction with low cost hand-tracking devices (e.g., Leap Motion and Intel Gesture Camera) and replicate/emulate manual operations usually performed to design custom-fit products, such medical devices and garments. The proposed solution is based on the Eclipse platform, a free integrated development environment (IDE), that allow us to manage the automatic code generation in a simple way after having defined the target application using a meta-model language, in our case the UML class diagram. First, we describe the background as well as the main problem, then, the software solution and adopted tools (i.e., Eclipse and Acceleo). Finally, the preliminary tests carried out for two applicative contexts (prosthetic and textile/clothing) are presented.


Model-Driven Development (MDD) tools for Rich Internet Applications (RIAs) development are focused on software modeling, and they leave automatic code generation in a second term. On the other hand, Rapid Application Development (RAD) tools for RIAs development enable developers to save development time and effort by leveraging reusable software components. AlexandRIA is a RAD tool that allows developers to automatically generate both source and native code of multi-device RIAs from a set of preferences selected throughout a wizard following the phases of a User Interface (UI) pattern-based code generation approach for multi-device RIAs. In this chapter, the use of the UI design process behind AlexandRIA is demonstrated by means of a sample development scenario addressing the development of a cloud services Application Programming Interfaces (APIs)-based cross-platform mobile RIA. This scenario is further revisited in a case study that addresses the automatic generation of an equivalent application using AlexandRIA.


Computers ◽  
2020 ◽  
Vol 9 (3) ◽  
pp. 56
Author(s):  
Gaetanino Paolone ◽  
Martina Marinelli ◽  
Romolo Paesani ◽  
Paolino Di Felice

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.


2021 ◽  
Vol 2108 (1) ◽  
pp. 012025
Author(s):  
Yang Lu ◽  
Puqiong Yang

Abstract In recent years, digital control has been widely used in the field of power electronics. Automatic code generation, as a graphical software writing method, has brought great convenience to the writing of electronic control software due to a series of advantages such as easy to write and easy to simulate and verify. Simcoder in PSIM is an automatic code generation software that enables the automatic generation of complete DSP control program projects. In this article, the current and voltage loops of a typical average current controlled BUCK circuit are designed as an example, and the use of PSIM and Simcoder is described in detail. Based on the main circuit and Matlab parameter calculations, the model is simulated and the self-generated code is downloaded into the TMS320F28335 to test the output voltage and current of the hardware circuit. The circuit output has the advantage of stable output voltage with small steady-state error and low voltage overshoot, demonstrating the practicality and efficiency of automatic code generation on this project.


Author(s):  
Roberto Paiano ◽  
Anna Lisa Guido ◽  
Andrea Pandurino

As it will be clearer subsequently, two different technologies will be used for realizing the generation of the code; the first one predominantly focused on the generation of code for the Web applications that do not have an underlying business process, and that they do not require, therefore, the management of the relative problems. The second technology has been selected instead, to also keep in mind the business processes. In order to provide support to the designer in the design of the whole complex Web information system, it is essential to provide a suitable tool that hides the intrinsic complexity of the methodology supporting the designer in the application of the same that is often complex, and the tool has to be able to translate the design made up in a machine readable format to be able to use this design in the following automatic code generation of the Web application according to a model-driven approach. In this chapter, we introduce the design and implementation of the editor made up mainly of the architecture presented (and based on Eclipse™ Platform as illustrated in the preceding chapter) and on the methodological steps of integration among the several editors for the design and implementation of these guidelines.


2008 ◽  
Vol 5 (1) ◽  
pp. 61-85 ◽  
Author(s):  
Katarina Belic ◽  
Dusan Surla

Aim of the research is to model the system for cataloguing in the UNIMARC format which does not require specific knowledge of cataloguing formats. The Unified Modeling Language (UML 2.0) is used for the specification of both the information requirements and the architecture model of system for cataloguing. The research finding is a model of system for cataloguing in UNIMARC format by which authors themselves can process their bibliographic entries without knowing UNIMARC format. Bibliographic records formed in this way can be further processed according to adopted standards by librarians. Limitation of research results lies in the additional modeling of graphic user interface for the purpose of changing input data set of library documents. This limitation can be surpassed by specifying the input data set which would be used for automatic generation of appropriate user interface. The specification could be realized by means of XML Schema language. Practical usage of the research findings is the basic for the implementation of a Web application intended for the creation of electronic catalogues and bibliographies of researchers and scientific institutions. Integration of the catalogue into BISIS makes it publicly available through a standard user interface for searching bibliographic records on the Internet. In addition that application could be integrated into various librarian software systems. The contribution of this work is in the model architecture of the system for cataloguing in the UNIMARC format. User interface (described by use case diagrams) is connected with object model of UNIMARC format. According to that, any change or addition of new input data set of library documents requires only the change of use case diagrams which describe user interface while the rest of the model remains the same.


Inventions ◽  
2022 ◽  
Vol 7 (1) ◽  
pp. 12
Author(s):  
Qi Zhang ◽  
Wenhui Pei

The digital signal processing (DSP) processor-in-the-loop tests based on automatic code generation technology are studied. Firstly, the idea of model-based design is introduced, and the principle and method of embedded code automatic generation technology are analyzed by taking the automatic code generation of the DSP control algorithm for pulse width modulation (PWM) output as an example. Then, the control system model is established on MATLAB/Simulink. After verifying the model through simulation, the target board platform is established with DSP as the core processor, and the automatically generated code is tested by the processor-in-the-loop (PIL). The results show that the technology greatly shortens the development cycle of the project, improves the robustness and consistency of the control code, and can be widely used in the complex algorithm development process of the controller, from intelligent design and modeling to implementation.


Author(s):  
Raoudha Ben Djemaa ◽  
Ikram Amous ◽  
Abdelmajid Ben Hamadou

The complexity of adaptive Web applications (AWA) is increasing almost every day. Besides impacting the implementation phase, this complexity must also be suitably managed while modeling the application. To this end, the paper proposes an approach for AWA called GIWA based on WA-UML (Web Adaptive Unified Modeling Language). This extension defines a set of stereotypes and constraints, which make possible the modeling of AWA. GIWA’s target is to facilitate the automatic execution of the design and the automatic generation of adaptable web interface. The GIWA methodology is based on different step: requirement analysis, conceptual design, adaptation design and generation. Using GIWA, designers can specify, at a requirement analysis, the features of web application to be generated. These features are represented, at the conceptual level using WA-UML. At the adaptation level, GIWA acquires all information about users’ preferences and their access condition to be used at the generation level. The last level is based on java swing interface to instantiate models which are translated in XML files. GIWA uses then XSL files (user preferences) and RDF files (devices’ capability) to generate the HTML page corresponding to the user.


Author(s):  
Chung-Yeung Pang

In this chapter, an approach to improve business agility of a legacy IT system by modernizing COBOL application development is presented. The special features in this approach include the introduction of service oriented architecture (SOA) for Web application integration, using the model driven development approach with code generation, and agile development process. The component architecture and its framework, together with the infrastructure for development and testing, are also presented. The development approach is called “Gaby Paradigm,” which is explained in the chapter. The architecture, framework, and development process have been applied to a number of projects successfully since 2004.


Sign in / Sign up

Export Citation Format

Share Document