Reference Guide

Table Of Contents
Table 4 Sample Application Information
Property
Value
Application Name
Health Monitor
Application Short Name
hm
Company
Hewlett-Packard
Company Short Name
hp
The following information describes the how to manually create the application workspace.
Creating Application Directory Structure
Source projects and configuration files will be organized in a directory structure. Any structure
works but one similar to the one suggested in Figure 37 is recommended. Table 5 describes the
folders under the main application directory (health-monitor for this sample application). Table
5Figure 38 shows the application module dependencies.
Figure 37 Application Directory Structure
Table 5 Application Folders
Folder
Type
Description
hm-app
Configuration Folder
It contains the application deployment OSGi plan, the
application descriptor and a POM file used to generate
the installable application.
hm-root
Configuration Folder
Keeps the parent pom.xml file which contains common
properties and dependencies to all modules.
hm-model
Module / Source Code
Project
Defines the model objects to use across all application
levels. All other projects will depend on this one. This
project could be exported (public) if the application will
expose services to be consumed by other applications.
hm-api
Module / Source Code
Project
Defines the application’s API or application’s services.
This project could also be exported (public) if the
application will expose services to be consumed by other
138