Abstract
Although the separation of a model from its visual representation (view) implies well-known benefits, available Java libraries do not sufficiently support this concept. This paper presents a straightforward way to smoothly enhance Java libraries in this direction independently of the particular graphic user interface (GUI) library. The lean framework JGadgets, which was inspired by the Oberon Gadgets system, allows developers to focus on model programming only. This significantly reduces development costs, in particular in the realm of quite simple, form-based GUIs, which are commonplace in commercial e-business systems. The authors first present a case study implemented on top of JGadgets that demonstrates the benefits of the MVC architecture. They then go on to sketch the reflection-based design of JGadgets itself.
Additional information
Notes on contributors
E. Althammer
Egbert Althammer is a research assistant of computer science at the University of Constance, Germany. His research focus is in framework and component technology in Java. He has published a number of papers in this area. He studied informatics in Graz, Austria.
W. Pree
Wolfgang Pree is a professor of computer science at the University of Constance, Germany. His research covers various areas of software engineering, in particular object and component technology, software architectures, and human-computer interaction. He is the author of Design patterns for object-oriented software development (Addison-Wesley, 1995) and has been a Visiting Assistant Professor at Washington University, St. Louis, and a guest scientist at Siemens AG Munich.