Abstract. Building a rich internet application (RIA) requires the programming of various callbacks and listeners. AJAX like server requests require callback handler objects that react to the asynchronous server response. Active Graphical User Interface (GUI) elements like buttons or menu entries require action handlers. Using a timer queue requires appropriate event handlers, too. Programming all these handlers is tedious and error prone. Subsequent steps of e.g. initialization or of a protocol of server requests are scattered over multiple separated blocks of code. The control flow between these blocks is hard to retrieve. Some common variables have to be introduced in order to pass the application state between the different handler blocks. To overcome these problems, we propose to use an extension of UML statecharts, called Action Charts, dedicated to the modeling of callbacks and listeners. All kinds of handlers are modeled in a common uniform statechart notation. States become actions or handlers. Transitions represent the flow of execution. Variables are shared between actions providing a simple mechanism for passing the application state from one handler to the next. From such Action Charts we generate sourcecode that is compliant with the Google Web Toolkit 1 (GWT). The generated code is pure Java code that facilitates validation and debugging of the modeled behavior. It can be translated to JavaScript and run inside the web browser using the GWT crosscompiler. The Action Charts and code generation are implemented as part of the open source CASE tool Fujaba.
Abstract. Today's browsers, tools and Internet connections enable the growth of Enterprise Web Applications. These applications are no longer page-based and designed using HTML code. Enterprise Web Applications bring the capabilities and concepts of traditional desktop applications to the browser. We are used to the development of desktop applications for years and have defined our own process to enable the full model-driven development of applications without source code. Using this process and its tools, we are able to define not only data models for traditional applications and generate code out of it. Combined with the story-driven modeling approach, we are able to design the logic of applications using models and generate fully functional code. To use our knowledge and tools as well as our usual process for the development of Enterprise Web Applications, we investigated our process and adapted it to the new needs. As result we propose a new development process that combines the needs of complex software development with the implementation of web user interfaces and control flows between these user interfaces. The process is a guideline to use models and tools for the development of complex Enterprise Web Applications including data model, behaviour and user interface.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
hi@scite.ai
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.