<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>UML Profile for Specifying User Interfaces of Business Applications</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Gordana Milosavljevi´c</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Igor Dejanovi´c</string-name>
          <email>igord@uns.ac.rs</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Branko Periˇsi´c</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Branko Milosavljevi´c</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Faculty of Technical Sciences, University of Novi Sad</institution>
          ,
          <country country="RS">Serbia</country>
        </aff>
      </contrib-group>
      <fpage>77</fpage>
      <lpage>94</lpage>
      <abstract>
        <p>This paper presents a domain-specific language (DSL) in the form of a UML profile that facilitates efficient modeling and generation of fully-functional UIs of enterprise business applications. DSL is based on an internal HCI standard that defines layout and behaviour of coarsegrained objects for business applications. Being a regular UML extension, this language can be used in any general-purpose UML modelling tool and can easily be integrated with other UML-based models of the application.</p>
      </abstract>
      <kwd-group>
        <kwd>user interface</kwd>
        <kwd>code generation</kwd>
        <kwd>MDA</kwd>
        <kwd>UML profile</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Various aspects of model-based development of user interfaces (UIs) are the
subject of intensive research efforts. However, the majority of presented solutions
is hardly applicable to development of real-world information systems because
too much time and effort is spent on developing and synchronisation of different
types of user interface models (for example, presentation model, content model,
navigation model, interaction model), the complexity of sharing the knowledge
embedded in different models, the lack of support in development tools, and the
lack of consensus over which types of models best describe UIs [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ]. Most tools
for modelling user interfaces use its own set of notations, thus impeding the
integration with other application models [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ]. This is especially the problem in
developing business applications that require tight integration of UI models with
models that specify business logic.
      </p>
      <p>
        In order to overcome the problem of integration and to facilitate the exchange
of information among different tools, UML can be used to model all aspects of
an application, including the user interface [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Although very powerful, UML
without extensions is not suitable for modelling UIs [
        <xref ref-type="bibr" rid="ref19 ref26 ref3">26, 3, 19</xref>
        ].
      </p>
      <p>This paper presents a UML extension in the form of a UML profile for
specifying UIs of business applications named EUIS (Enterprise User Interface
Specification profile). EUIS is developed in order to enable rapid user interface
modelling at a high level of abstraction. EUIS is based on an internal HCI
(humancomputer interaction) standard of a business application that defines functional
and presentational features of coarse-grained building blocks thus enabling the
generation of a fully functional UI, without the need for defining a multitude of
models used for developing UIs in the general case.</p>
      <p>
        It is important to note that the UI model is not a model of an application
(from the implementation standpoint); it defines the structure of the
application using building blocks at a high abstraction level (different types of screen
forms, reports, procedures) and their relationships. Depending on the
development platform, the intended application architecture, and the implementation
of a code generator, one class from the UI model may be mapped to one or
more classes or modules of an application, or may even be not mapped to the
program code at all but to application repository data instead, if a data-driven
application architecture is used (for example, see [
        <xref ref-type="bibr" rid="ref13 ref14">13, 14</xref>
        ]).
      </p>
      <p>Problem domain model
Database model</p>
      <p>Middleware /
Business logic
model</p>
      <p>PIM</p>
      <p>PSM</p>
      <p>User interface model
Database scripts</p>
      <p>Middleware</p>
      <p>User interface</p>
      <p>Generated
Application elements
meta-data</p>
      <p>The development of a whole business application using the EUIS profile
comprises the following activities (see Figure 1):
– The development of PIM (platform independent model) of a problem domain
by means of class diagrams in a general-purpose UML modelling tool.
– The automatic transformation of a PIM to PSMs (platform-specific model):
database schema model, user interface model, and the middle-tier model (in
the case a three-tier architecture is chosen).
– Automatic generation of artifacts needed for implementation based on PSMs:
database schema creation or alteration scripts, middle-tier implementation
artifacts (such as EJBs), fully functional application UI (depending on the
target architecture of the client application), and atomic “CRUD”
transactions implementing creation, retrieval, update, and deletion of every entity
in the persistence layer.</p>
      <p>The rest of the paper is structured as follows. Section 2 describes the basics
of the internal HCI standard. Section 3 presents the EUIS profile. Section 4
reviews the related work. The last section concludes the paper and outlines
some directions of future work.</p>
    </sec>
    <sec id="sec-2">
      <title>The HCI standard</title>
      <p>Our internal human-computer interaction (HCI) standard is aimed at defining
functional and visual features of course-grained application components. Its goals
include the following: simplicity of use, quick user training, and the automation
of user interface construction.</p>
      <p>
        The papers [
        <xref ref-type="bibr" rid="ref16 ref17">16, 17</xref>
        ] define a number of types of screen forms. For this
discussion, the following types are relevant:
– standard data management form,
– standard panel,
– parent-child form, and
– many-to-many form.
      </p>
      <p>
        Standard form is designed to display data and all available operations so
the user can choose a data item and invoke an operation on it without memorising
commands (the object-action approach [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ]). Standard operations common to
all entities are represented by buttons/icons at the top of the form, while specific
operations (if they exist) are represented by links/buttons at the right hand side.
The standard form layout is presented in Figure 2.
      </p>
      <p>Title</p>
      <p>Operations common to all entities include search (query by form), display,
addition, update, removal, copying, data navigation and view mode toggle (grid
view or single record view). Specific operations include complex data processing
procedures associated with the given entity (transactions), invocation of related
(next ) screen forms, and invocation of reports. The standard mandates that the
specific operations always use the currently selected (viewed) record.</p>
      <p>Standard panel has the appearance and the behaviour of the standard
form but, instead being shown in its own window, it is used as an element of a
complex form. Standard panels are regularly used for parent-child and
many-tomany forms.</p>
      <p>A parent-child form is used for data that have hierarchical structure, where
each element in the hierarchy is modelled as an entity in the database. Each
element in the hierarchy is represented by a standard panel, where a panel at
the n-th hierarchy level filters its content according to the selected data item at
the level n − 1.</p>
      <p>The many-to-many form is used for intensive management of data
belonging to entities connected by “many-to-many” relationships, with or without
associate classes. Its layout is presented in Figure 3. This screen form is used as
follows:
– A number of desired records are selected in the upper panel. These records
are “dragged” to the lower panel by clicking the button with the downwards
arrow. If a record is dragged by mistake, it can be revoked back by clicking
the upwards arrow button.
– The values of non-key attributes of a record selected in the lower panel may
be changed.</p>
      <p>Title</p>
      <p>Relationships among screen forms are represented by three mechanisms:
zoom, next, and activate. The zoom mechanism represents the invocation of
the form associated with the given entity where the user can choose a data item
and “drag” it (pick its values) to the fields of the previously viewed form.</p>
      <p>The next mechanism, invoked from the form associated with the current
entity, displays the form associated with the child entity with its data filtered
so that only connected objects are displayed. The key or a representation of the
parent entity is displayed in the form header, so the user easily recognises the
current context. A next can be invoked by menu items, buttons, or links.</p>
      <p>The activate mechanism enables direct invocation of a form by another form,
without restrictions on the data displayed. The invoked form does not need to
be related to the current one.
3</p>
    </sec>
    <sec id="sec-3">
      <title>The EUIS Profile</title>
      <p>The EUIS profile extends the following metaclasses from the UML::Kernel
package: Element, Class, Property, Operation, Parameter, Constraint, and Package.
It is complementary to the profile for modelling persistent data that is available
in a majority of modelling tools (see Figure 4). Therefore, EUIS is independent
on modelling tools, persistence layer and the database of choice. Profile that
models persistent data comprises only the stereotypes present in the majority
of modelling tools (possibly under a different name): persistent class, persistent
property, persistent data type, and persistent operations (methods implemented
in the persistence layer) – see Figure 5. When using the EUIS profile, these
stereotypes are replaced with concrete stereotypes of the chosen modelling tool.</p>
      <p>
        In order to specify additional information needed for transforming a problem
domain model to a user interface model, another profile is developed (see Figure
6) that provides the following: defining a set of one or more properties as a
business key – the BusinessKey stereotype [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], designation of a method as a
complex business procedure – the Transaction stereotype, and the designation
of a method as a report – the Report stereotype.
      </p>
      <p>– a visible element: extension of Element metaclass
– visible classes (panels): extensions of Class metaclass
– visible properties: extensions of Property metaclass
– visible methods: extensions of Operation metaclass
– visible parameter: extension of Parameter metaclass
– a group of elements: extension of Property metaclass
– visible association ends: extensions of Property metaclass
– validators: extension of Constraint metaclass
– a business subsystem: extension of Package metaclass</p>
      <p>Due to space constraints, the rest of the section presents only the most
important stereotypes and tags. Validators, business subsystem and formal OCL
constraints are not presented.
3.1</p>
      <sec id="sec-3-1">
        <title>Visible Elements</title>
        <p>Stereotype VisibleElement (see Figure 7) represents a model element that is
mapped to a user interface element in the generated application. Since Element
metaclass is a common superclass of all UML metaclasses, this facilitates the
representation of all model elements with a UI component and a label, where
applicable.</p>
        <p>«metaclass»
Element</p>
        <p>«stereotype»</p>
        <p>
          VisibleElement
label : String [0..1]
visible : Boolean [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] = true
component : ComponentType [0..1]
        </p>
        <p>«enumeration»
ComponentType
textField
passwordField
textArea
column
checkBox
comboBox
selectionList
radioButton
label
image
tabbedPane
panel
grid
border
menu
menuItem
button</p>
        <p>The enumerated type ComponentType defines a set of available UI component
types. The set of components is designed to be platform-independent. Mapping
these values to particular UI components of the chosen development platform is
performed in the application generator.
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Visible Classes</title>
        <p>Stereotype VisibleClass (see Figure 8) represents a class that is mapped to a
panel (a regular or a tabulated panel) in the application UI. If a panel is
associated to an empty window or a web page, it becomes a screen form that can be
independently activated (opened).</p>
        <p>Stereotype VisibleClass is not abstract because of the possibility of modelling
specific panels that are not comprised by the HCI standard, but still occur rarely
enough that there is no need to extend the HCI standard with a new element.</p>
        <p>The inherited tag label is used as a window title or a label that explains the
purpose of the panel if displayed within a complex panel.</p>
        <p>Stereotype StandardPanel denotes that the given persistent class is
associated with a standard panel whose layout and behaviour are defined by the
internal HCI standard. The standard panel implements three interfaces:
StandardOperations – operations defined by the HCI standard: add, update, copy,
delete, search, change mode, navigate data; StdPanelSettings – settings that
define panel’s runtime behaviour; and DataSettings – defines data filtering and
sorting.</p>
        <p>Stereotype ParameterPanel represents a class that is mapped to a panel
for entering parameters for a visible method (see VisibleOperation stereotype)
that is invoked by a button or a menu item. Since the majority of parameter
panels in an application is created implicitly, as a result of a visible method
and its parameters, classes with this stereotype rarely occur. It can be used in
situations where a user successively invokes a number of methods with the same
set of parameter values.</p>
        <p>The ContainerPanel is an abstract stereotype that represents a complex
panel that can contain other panels (simple or complex), as well as a number
of properties and methods. It defines additional attributes, methods, and
constraints for its descendants (ParentChild, ManyToMany, and PanelGroup). The
layout and behaviour of ParentChild and ManyToMany panels is defined by the
HCI standard, while their relationship to the contained panels is defined by
hierarchical relationships (associations with ends having the Hierarchy stereotype).
For details on associating panels, see section 3.7.</p>
        <p>The layout and behaviour of a PanelGroup is not defined by the HCI
standard. It is used for modelling special-purpose complex panels. The class with a
PanelGroup stereotype defines only the contained elements, while their
relationship is implemented in application code.</p>
        <p>Classes with the MainPanel stereotype are used for modelling the main form
of a business subsystem
3.3</p>
      </sec>
      <sec id="sec-3-3">
        <title>Visible Properties</title>
        <p>Stereotype VisibleProperty (see Figure 9) is a property of a “visible” class and
is mapped to a UI component contained in the panel associated to the class. Its
tags provide customisation of appearance and behaviour of the UI component,
or the table column in the case of tabular display of data (label, columnLabel,
dataFormat, disabled ), default values in the UI component (default,
defaultValueGetter ), and automatic focus traversal (autoGo). Tag default contains an OCL
expression that defines the initial value, while defaultValueGetter contains the
reference to the method used for fetching the default value (in cases when OCL
expression cannot be used). Tag representative indicates that the given
property can be used to represent the whole class from the users’ point of view (for
example, company name, first name + ” ” + last name).</p>
        <p>Aggregated represents an aggregated property, whose value is calculated using
one of the aggregation functions (min, max, sum, avg, count) over the selected
property (aggregatingAttribute). The set of values being aggregated is specified
by an OCL expression (selection) or by a method (performsSelection).</p>
        <p>Stereotype Calculated represents a property whose value is calculated
according to the given formula over the values in objects of this or some other class.
Calculation method can be specified by an OCL expression (expression) or by a
method (performsCalculation).</p>
        <p>Abstract stereotype Persistent represents a property that is mapped to a
persistent property in the problem domain model. Its descendants include Editable
(enables editing the value of the persistent property in the UI component) and
ReadOnly (disables editing). Editing values is allowed if the user has appropriate
permissions.</p>
        <p>Editable has an AutoDuplicate descendant that represents a persistent
property where the value entered in the UI component is kept as default when entering
a new record. It is usually applied to properties whose values are repeated across
many records, so the user is spared some effort while entering data.</p>
        <p>ReadOnly has an AutoIncrement descendant that denotes a persistent
property whose value is automatically incremented with each new record entered.
Contrary to identity columns or database sequences, this property allows the
counter value to be reset if a condition is met (using an OCL expression in
incrementSpec or a method in performsIncrement ).</p>
        <p>Stereotype Lookup describes a property whose value is formed from property
values of referenced objects, directly or indirectly. Direct reference means that
there is an association with the class that provides the data; indirect reference
means that such class can be reached by traversing a series of associations.
Properties forming a lookup can be specified as an OCL expression (expression) or by
specifying the class that provides the data. In the latter case, the representative
property of that class is used.
3.4</p>
      </sec>
      <sec id="sec-3-4">
        <title>Visible Parameters</title>
        <p>Stereotype VisibleParameter (see Figure 10) denotes a parameter of a visible
method (having the VisibleOperation stereotype) that behaves as follows. If it
is an input or an input/output parameter, then
– it enables entering parameter values by means of a UI component contained
in the parameter panel associated with a visible method, or
– it defines the way of fetching the parameter values in the case when the
user is not supposed to enter its value (using tag valueSpec contains an OCL
expression that calculates the value, or tag valueGetter that specifies the
method for calculating the value).
If it is an output parameter or a method result, it enables the display of its value
by means of a UI component contained in the parameter panel associated with
a visible method.
3.5</p>
      </sec>
      <sec id="sec-3-5">
        <title>Groups of Elements</title>
        <p>«stereotype»</p>
        <p>VisibleElement
1..*
element
{ordered}</p>
        <p>Stereotype ElementsGroup (see Figure 11) represents an attribute of a class
with the VisibleClass stereotype used for grouping its elements (properties,
methods, associations), thus forming semantic groups that map to groups of
UI components in a panel associated with the class. Each group can define the
following: an ordered collection of contained elements (tag element ), the UI
element orientation in layout (orientation), the location of the group in the panel
(location), and the alignment of elements in the group (alignment ).</p>
        <p>The inherited tag label represents a label displayed in a UI component
associated with the group (frame title, panel title, name of the menu item that
opens a submenu).
3.6</p>
      </sec>
      <sec id="sec-3-6">
        <title>Visible Methods</title>
        <p>Stereotype VisibleOperation (see Figure 12) denotes the method of a visible class
that has an associated UI component (a button or a menu item) that enables
its invocation by the user. If the method has input parameters, they must have
the VisibleParameter stereotype (see section 3.4).</p>
        <p>Abstract stereotype BusinessOperation represents a method that is mapped
to an activity in the problem domain. Its descendants are Report and
Transaction. Report describes a method that invokes a report created by one of the
reporting tools. Report ’s tags enable specifying the report name, and the filtering
and sorting criteria. Transaction represents a complex business transaction that
is implemented as a stored procedure in the database or a method in a middle
tier. Its tags enable specifying the UI behaviour immediately before and after
its invocation (requesting the confirmation from the user, display refresh mode,
error display mode, etc).
«stereotype»</p>
        <p>PersistentOperation
persistentOperation 0..1</p>
        <p>*
Abstract stereotype VisibleAssociationEnd (see Figure 13) is applied to a
property belonging to a binary association between two visible classes. It defines the
relationship between the panel belonging to the class that owns the property
(activation panel) and the panel belonging to the class at the other end
(destination panel). The nature of the relationship is determined by this stereotype’s
descendants. VisibleAssociationEnd only introduces common properties and
constraints that enable destination panel to adjust its layout and behaviour to the
context it is used in. For this purpose, VisibleAssociationEnd implements the
following interfaces: StandardOperations, DataSettings, StdPanelSettings, and
PanelAdjustment. Tag values specified by PanelAdjustment can be set for all types
of panels (VisibleClass and its descendants), while tag values specified by
StandardOperations, DataSettings, and StdPanelSettings can be applied to standard
panels only (stereotype StandardPanel, see section 3.2).</p>
        <p>If tag values are not defined at the association end, values defined at the
standard panel are used. If values of tags add, update, copy, delete, search, and
changeMode are set to false in the standard panel, the value set at the association
end is ignored. This helps adhering to rules that are usually consequences of
problem domain constraints independent of the usage context.</p>
        <p>Stereotypes Zoom, Next, and Activation model the corresponding type of
activation as defined by the HCI standard. Stereotype Hierarchy denotes that
the destination panel has the role of an element in the parent-child or
many-tomany panel. Role of the destination panel is set by the value of the level tag.
For many-to-many complex panels, level = 1 is the panel that represents the
header, level = 2 is the panel for choosing data, and level = 3 is the panel
that contains the transferred data (for example, see class PickAuthors in Figure
15). For parent-child complex panels, level = 1 is the standard panel being the
«stereotype»</p>
        <p>
          Next
autoActivate : Boolean [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] = false
displayIdentifier : Boolean [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] = true
displayRepresentative : Boolean [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] = true
0..1 viaAssociationEnd G«rostuepreEoletympee»nt
«metaclass»
Property
appliedToPanel0..1
«stereotype»
        </p>
        <p>StandardPanel
root of the tree, level = 2 is the child panel, level = 3 is the child of the child
panel, and so forth: for n &gt; 2, level = n is a panel that is the child for panel at
level = n − 1 (for example, see class JournalPaperComposite in Figure 15).</p>
        <p>Composing parent-child and many-to-many complex panels requires defining
only levels of hierarchy for each contained panel; runtime association of panels
is performed by analysing their associations. If two or more associations exist
between two panels, or there is a recursive association, association end to be
used must be explicitly stated in the viaAssociationEnd tag.</p>
        <p>
          Stereotype GroupElement denotes that the destination panel is an element
of a complex panel, where its role and behaviour are defined in the application
code and/or using values of tags inherited from VisibleAssociationEnd.
Figure 14 presents a domain model of a part of a CERIF-compliant research
management system presented in [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]. All classes and attributes in this model
are persistent, but their stereotypes are not displayed for the sake of brevity.
        </p>
        <p>The problem domain model in Figure 14 is automatically transformed into
the UI model presented in Figure 15 that contains an initial version of the user
interface. The application developer can manually change this version to meet
the users’ requirements. The diagram in Figure 15 shows manually added classes
PickAuthors (a many-to-many form for choosing paper authors) and
JournalPaperComposite (a parent-child form for managing journal papers) with
corresponding associations. Properties with Lookup and ElementsGroup stereotypes
in all classes are also manually added. The rest of the model is automatically
generated: persistent classes from the domain model was mapped to UI classes with
StandardPanel stereotype, persistent properties to UI properties with Editable
stereotype, association ends with cardinality 0..* to UI association ends with
Next stereotype and association ends with cardinality 0..1 or 1 to UI association
ends with Zoom stereotype.
Fig. 15. A UI model of a part of CERIF-compatible system</p>
        <p>An example of a web-based form generated for JournalPaperComposite is
presented in Figure 16.
In order to compare the EUIS profile with other profiles presented in the
literature, this section reviews recent papers ranging in subject from modelling
user interfaces of business applications to complete methodologies and tools for
information system development, including its presentation aspects. Papers that
deal with developing user interfaces in general are not discussed here.</p>
        <p>
          The papers [
          <xref ref-type="bibr" rid="ref21 ref22">21, 22</xref>
          ], like this paper, propose the use of the problem domain
model as a starting point that is transformed into a model of the user interface.
The approach to modelling of application views based on the available classes
(various complex panels, navigation among them) is also similar. However, [
          <xref ref-type="bibr" rid="ref21 ref22">21,
22</xref>
          ] introduces more transformation levels in order to achieve portability across
different implementation platforms while not restricting to a particular fixed set
of components (we deal with portability as well, but with a limited set of
components). Besides, [
          <xref ref-type="bibr" rid="ref21 ref22">21, 22</xref>
          ] require the development of an information retrieval
model in order to implement fetching of data used in the user interface, while
we opt for implicit mapping of the user interface model to the persistence layer
(the cases where implicit mapping is insufficient are defined by OCL constraints
or an associated method).
        </p>
        <p>
          The papers [
          <xref ref-type="bibr" rid="ref10 ref5">10, 5</xref>
          ] present a way of automatic user interface generation based
on the following: a business logic model (UML activity diagrams) and a user
interface model (UML class diagrams). An activity diagram is supplied with
elements of the UML profile for defining system and user actions with the
specified inputs and outputs, while the class diagram that is produced from the
activity diagram is supplied with elements of the UML profile for user interface
specification (e.g., ContainerElement, GuiElement, ActionElement ). The profile
does not support modelling the relationships between forms (navigation is
omitted). Furthermore, obtaining classes that provide management of data from the
problem domain model is not specified, although their presence is assumed (the
dataProvider attribute in the ChoiceElement stereotype, and the methodURL
attribute in the ActionElement stereotype).
        </p>
        <p>
          In [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ], the authors propose the use of patterns for accelerating the user
interface development. Those patterns are at a higher abstraction level and may
be used in task models, presentation models, and component layout models.
This paper also proposes the use of a number of tools that guide the designer
in the choice and the application of patterns during modelling, assist in model
synchronisation, and generate the user interface.
        </p>
        <p>
          Compared to elements of the standard presented in Section 2, the patterns
used in [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ] represent finer-grained application components. The paper [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ] does
not specify neither the relationship between the problem domain model and the
user interface model, nor if there is a mapping of the generated user interface to
the data persistence layer (whether the generated user interface is immediately
testable in the real users’ environment).
        </p>
        <p>
          The paper [
          <xref ref-type="bibr" rid="ref27">27</xref>
          ] presents a method for developing web-based information
systems based on problem domain models, applications and navigations that are
directly mapped to existing development frameworks. The mapping is provided
by the UML profile named FrameWeb whose stereotypes correspond with the
categories of the framework used, so that the development team can deliver the
implementation in a straightforward way (the implementation is manual, there
are no code generators used). The majority of stereotypes in the presented UML
profile are aimed at the development of the problem domain model and its
mapping to the persistence layer, while support for specifying the user interface is
relatively modest (there are only four stereotypes that specify the type of the
web page).
        </p>
        <p>
          The series of papers [
          <xref ref-type="bibr" rid="ref18 ref2 ref7 ref8">2, 8, 7, 18</xref>
          ] presents a methodology for developing
webbased information systems UWE (UML-based Web Engineering ) that uses a
UML profile for modelling hypermedia and the ArgoUWE tool that provides
for definition of different application models, their transformation, and
semiautomatic code generation. The UML profile provides for the creation of
navigation models, navigation structure models, and presentation models.
        </p>
        <p>The concept of modelling an application in UWE methodology is the closest
to the proposition in this paper – in both cases, the starting point is the
problem domain model expressed as a class diagram that is automatically mapped
to the application model, data model, and other models needed. Thanks to this
approach, there is a direct mapping of application elements to the layer that
implements business logic, a feature missing in the majority of reviewed
solutions. The most notable differences between UWE and EUIS approaches are the
following:
– The UWE methodology and profile are focused solely on developing
webbased systems, while the methods presented here can be applied to both
web and “classical” information systems.
– The UWE method does not rely on an internal HCI standard (there is only
one type of forms).
– Our approach proposes a single user interface model that defines
coarsegrained application building elements, their structure and layout (using the
ElementsGroup stereotype), and navigation among them. Sketches of forms
need not be made thanks to the mechanism for intelligent component layout
that forms a usable user interface according to rules and groups, and which
can be further adapted during implementation.</p>
        <p>
          Although not based on a UML profile, the concept of specifying GUI forms
and generating the database schema and the functional prototype of the
application using the IIS*Case tool [
          <xref ref-type="bibr" rid="ref11 ref20 ref6">20, 11, 6</xref>
          ] is similar to the solution presented
here, apart from the order in which artifacts are implemented. Using IIS*Case,
the modelling starts with specifying form types, while database schema and the
prototype application are generated. Here we start with the model of the
problem domain, that is used to generate the user interface model, database schema
model, and the middle-tier model (in the case of three-tier architectures). After
manual changes applied to these automatically obtained models, the application
is generated.
        </p>
        <p>
          Our previously implemented tools for generating UIs of business applications
for various platforms are presented in [
          <xref ref-type="bibr" rid="ref12 ref13 ref14 ref15 ref16 ref9">12–16, 9</xref>
          ]. All tools are based on the
internal HCI standard presented in Section 2, but the difference is that UI model
was not generated from the domain model, but was kept as metadata in the
application repository. Metadata was further customised by the Form
Generator tool, which utilised this information to generate source code. Metadata in
the application repository, although stored in the database or an XML file and
edited by a special-purpose tool, can be considered to be a DSL (domain specific
language) for the description of UIs. The UI model enriched with EUIS
stereotypes is based on the same metadata, but this UML-based form is more suitable
for team work of experts from different fields (developers, UI design specialists,
problem domain specialists, users) during application development.
5
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Conclusions</title>
      <p>Automatic generation of UIs in the general case requires the development of a
number of UI models and thus requires much time and effort, often with
unsatisfactory results. Synchronisation and integration among different UI models, as
well as with domain models, is another big problem.</p>
      <p>If we restrict to the problem of developing special-purpose UIs, these
problems are largely simplified. This paper presents UML profile that facilitates
efficient modeling and generation of fully-functional UIs of enterprise business
applications which is based on an internal HCI standard that defines layout and
behaviour of coarse-grained objects for business applications. Relying on this
standard has enabled the rapid development of UIs for this particular type of
applications. Being a regular UML extension, this language can be used in any
general-purpose UML modelling tool and can easily be integrated with other
UML-based models of the application.</p>
      <p>
        Our tools developed to support the presented concepts [
        <xref ref-type="bibr" rid="ref12 ref13 ref14 ref15 ref16 ref9">12–16, 9</xref>
        ] are used for
the implementation of more than 70 projects of business information systems
by several different development teams. The percentage of the generated code in
the overall code base (database, middle tier, UI) ranged from 81.8% to 98.2%,
depending on the type of application. The code generation tool that relies on
the presented EUIS profile is still in development, but initial results show that
the percentage of the generated code will increase when all elements are
implemented. The current version does not support parsing OCL constraints. Since
we have already implemented a dynamic general-purpose parser Arpeggio [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ],
the support for OCL expressions is soon to be finalised.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Arpeggio</given-names>
            <surname>Parser</surname>
          </string-name>
          , http://code.google.com/p/arpeggio/
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Baumeister</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koch</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mandel</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Towards a UML Extension for Hypermedia Design</article-title>
          ,
          <source>In: Proceedings of The Unified Modelling Language Conference: Beyond the Standard (UML</source>
          <year>1999</year>
          ), France R. and Rumpe B., Eds, LNCS vol.
          <volume>1723</volume>
          , pp.
          <fpage>614</fpage>
          -
          <lpage>629</lpage>
          , Springer Heidelberg (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3. van den Bergh, J.,
          <string-name>
            <surname>Coninx</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Using UML 2.0 and Profiles for Modelling ContextSensitive User Interfaces</article-title>
          ,
          <source>In: Model Driven Development of Advanced User Interfaces</source>
          ,
          <source>Montego Bay</source>
          ,
          <string-name>
            <surname>Jamaica</surname>
          </string-name>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. Dejanovi´c, I., Milosavljevi´c, G., Periˇsi´c,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Tumbas</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.:</surname>
          </string-name>
          <article-title>A Domain-Specific Language for Defining Static Structure of Database Applications</article-title>
          ,
          <source>Computer Science and Information Systems</source>
          <volume>7</volume>
          (
          <issue>3</issue>
          ), (
          <year>June 2010</year>
          ), pp.
          <fpage>409</fpage>
          -
          <lpage>440</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Funk</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hoyer</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Link</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Model-driven Instrumentation of Graphical User Interfaces</article-title>
          , In: Second International Conference on Advances in Computer-Human Interaction, Cancun, Mexico (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Govedarica</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , Lukovi´c, I.,
          <string-name>
            <surname>Mogin</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <source>Generating XML Based Specifications of Information Systems, Computer Science And Information Systems</source>
          <volume>1</volume>
          (
          <issue>1</issue>
          ), pp.
          <fpage>117</fpage>
          -
          <lpage>140</lpage>
          (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Knapp</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koch</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
          </string-name>
          , G.:
          <article-title>Modelling the Structure of Web Applications with ArgoUWE</article-title>
          , LNCS vol.
          <volume>3140</volume>
          , Springer Heidelberg (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Koch</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kraus</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>The Expressive Power of UML-based Web Engineering</article-title>
          ,
          <source>In: Proc. 2nd International Workshop on Web Oriented Software Technology</source>
          , pp.
          <fpage>105</fpage>
          -
          <lpage>119</lpage>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Komazec</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , Milosavljevi´c,
          <string-name>
            <surname>B.</surname>
          </string-name>
          , Konjovi´c,
          <string-name>
            <surname>Z.</surname>
          </string-name>
          :
          <article-title>XML Schema-Driven GUI Forms Environment</article-title>
          ,
          <source>In: 11th IASTED Intl. Conf. Software Engineering and Applications</source>
          , pp.
          <fpage>342</fpage>
          -
          <lpage>348</lpage>
          , Cambridge, MA (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Link</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schuster</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hoyer</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abeck</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Focusing Graphical User Interfaces in Model-Driven Software Development</article-title>
          , In: First International Conference on Advances in Computer-Human Interaction, Saint Luce,
          <string-name>
            <surname>Martinique</surname>
          </string-name>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11. Lukovi´c, I.,
          <string-name>
            <surname>Mogin</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pavievi</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Risti</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>An Approach to Developing Complex Database Schemas Using Form Types</article-title>
          ,
          <source>Software: Practice and Experience</source>
          <volume>37</volume>
          (
          <issue>15</issue>
          ), pp.
          <fpage>1621</fpage>
          -
          <lpage>1656</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12. Milosavljevi´c,
          <string-name>
            <surname>B.</surname>
          </string-name>
          , Vidakovi´c,
          <string-name>
            <surname>M.</surname>
          </string-name>
          , Milosavljevi´c, G.:
          <article-title>Automatic Code Generation for Database-Oriented Web Applications</article-title>
          , In: Power,
          <string-name>
            <given-names>J.</given-names>
            ,
            <surname>Waldron</surname>
          </string-name>
          ,
          <string-name>
            <surname>J</surname>
          </string-name>
          . (eds):
          <source>Recent Advances in Java Technology: Theory, Application</source>
          , Implementation. pp.
          <fpage>89</fpage>
          -
          <lpage>97</lpage>
          , Trinity College Dublin (
          <year>2003</year>
          )
          <article-title>ISBN 0954414500</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13. Milosavljevi´c,
          <string-name>
            <surname>B.</surname>
          </string-name>
          , Vidakovi´c,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Komazec</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          , Milosavljevi´c, G.:
          <article-title>User Interface Code Generation for EJB-Based Data Models Using Intermediate Form Representations</article-title>
          ,
          <source>In: Principles and Practice of Programming in Java</source>
          , pp.
          <fpage>125</fpage>
          -
          <lpage>132</lpage>
          , Kilkenny, Ireland (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14. Milosavljevi´c,
          <string-name>
            <surname>B.</surname>
          </string-name>
          , Vidakovi´c,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Komazec</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          , Milosavljevi´c, G.:
          <article-title>User Interface Code Generation for Data-Intensive Applications with EJB-Based Data Models</article-title>
          ,
          <source>In: Software Engineering Research and Practice (SERP'03)</source>
          , pp.
          <fpage>23</fpage>
          -
          <lpage>27</lpage>
          ,
          <string-name>
            <surname>Las</surname>
            <given-names>Vegas</given-names>
          </string-name>
          ,
          <string-name>
            <surname>NV</surname>
          </string-name>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15. Milosavljevi´c, G., Periˇsi´c, B.:
          <article-title>Really Rapid Prototyping of Large-Scale Business Information Systems</article-title>
          , In: IEEE Intl.
          <source>Workshop on Rapid System Prototyping</source>
          , pp.
          <fpage>100</fpage>
          -
          <lpage>106</lpage>
          , San Diego, CA (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16. Milosavljevi´c, G., Periˇsi´c, B.:
          <article-title>A Method and a Tool for Rapid Prototyping of LargeScale Business Information Systems</article-title>
          ,
          <source>Computer Science And Information Systems</source>
          <volume>2</volume>
          (
          <issue>1</issue>
          ), pp.
          <fpage>57</fpage>
          -
          <lpage>82</lpage>
          (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17. Milosavljevi´c, G., Ivanovi´c, D.,
          <string-name>
            <surname>Surla</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , Milosavljevi´c, B.:
          <article-title>Automated Construction of the User Interface for a CERIF-Compliant Research Management System, The Electronic Library (in print)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Moreno</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Melia</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koch</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vallecillo</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Addresing New Concerns in ModelDriven Web Engineering Approaches</article-title>
          ,
          <source>In: Proc. Web Information Systems Engineering (WISE)</source>
          ,
          <source>LNCS</source>
          vol.
          <volume>5175</volume>
          , pp.
          <fpage>426</fpage>
          -
          <lpage>442</lpage>
          , Springer Heidelberg (
          <year>2008</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Paterno</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Towards a UML for Interactive Systems</article-title>
          , In: Proc.
          <article-title>Engineering for Human-Computer Interaction</article-title>
          , pp.
          <fpage>7</fpage>
          -
          <lpage>18</lpage>
          , Toronto, Canada, (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20. Pavi´cevi´c, J., Lukovi´c, I.,
          <string-name>
            <surname>Mogin</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Govedarica</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Information System Design And Prototyping Using Form Types</article-title>
          ,
          <source>In: International Conference on Software and Data Technologies</source>
          , pp.
          <fpage>157</fpage>
          -
          <lpage>160</lpage>
          , Setubal, Portugal (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Schattkowsky</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lohmann</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Towards Employing UML Model Mappings for Platform Independent User Interface Design, In: Model Driven Development of Advanced User Interfaces</article-title>
          ,
          <source>Montego Bay</source>
          ,
          <string-name>
            <surname>Jamaica</surname>
          </string-name>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Schattkowsky</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lohmann</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>UML</surname>
          </string-name>
          <article-title>Model Mappings for Platform Independent User Interface Design</article-title>
          , In: MoDELS 2005 Workshops, LNCS
          <volume>3844</volume>
          , pp.
          <fpage>201</fpage>
          -
          <lpage>209</lpage>
          , Springer, Heidelberg (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Seffah</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gaffar</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Model-Based User Interface Engineering with Design Patterns</article-title>
          ,
          <source>Journal of Systems and Software</source>
          <volume>80</volume>
          (
          <issue>8</issue>
          ), pp.
          <fpage>1408</fpage>
          -
          <lpage>1422</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Shneiderman</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Designing the User Interface: Strategies for Effective HumanComputer Interaction</article-title>
          , Addison-Wesley, Third
          <string-name>
            <surname>Edition</surname>
          </string-name>
          (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25. da Silva,
          <string-name>
            <surname>P.P.:</surname>
          </string-name>
          <article-title>User Interface Declarative Models and Development Environments: A Survey</article-title>
          ,
          <source>In: Proc. Design</source>
          ,
          <article-title>Specification and Verification of Interactive Systems</article-title>
          , LNCS vol.
          <year>1946</year>
          , pp.
          <fpage>207</fpage>
          -
          <lpage>226</lpage>
          , Limerick, Ireland (
          <year>2000</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26. da Silva,
          <string-name>
            <given-names>P.P.</given-names>
            ,
            <surname>Paton</surname>
          </string-name>
          ,
          <string-name>
            <surname>N.W.</surname>
          </string-name>
          :
          <article-title>Improving UML Support for User Interface Design: A Metric Assessment of UMLi</article-title>
          ,
          <source>In: Workshop on Bridging the Gaps Between Software Engineering and Human-Computer Interaction at International Conference on Software Engineering (ICSE 03)</source>
          , pp.
          <fpage>76</fpage>
          -
          <lpage>83</lpage>
          , Portland, Oregon, USA (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27. Estˆev˜ao Silva Souza,
          <string-name>
            <given-names>V.</given-names>
            ,
            <surname>Almeida</surname>
          </string-name>
          <string-name>
            <surname>Falbo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ,
            <surname>Guizzardi</surname>
          </string-name>
          , G.:
          <article-title>A UML Profile for Modelling Framework-based Web Information Systems</article-title>
          ,
          <source>In: Workshop on Exploring Modelling Methods for Systems Analysis and Design (EMMSAD'07)</source>
          , pp.
          <fpage>149</fpage>
          -
          <lpage>158</lpage>
          , (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>