SDN Controller Programming Guide

108
hm-bl
Module / Source Code
Project
Business logic. Implementation of the application’s API.
This project is private to the application.
hm-rs
Module / Source Code
Project
Application’s Representational State Transfer (REST) API or
RESTful Web Services. This project is private to the
application; however RESTful web services are accessible
via HTTP protocol.
hm-ui
Module / Source Code
Project
Application’s WEB interface. This project is private to the
application.
hm-dao-api
Module / Source Code
Project
Defines the persistence layer API. This API will be
available to the Business Logic to perform database
operations. This project is private to the application.
hm-dao-
model
Module / Source Code
Project
Defines the persistent entities. This project is private to the
application.
hm-dao
Module / Source Code
Project
Persistence layer implementation. This project is private to
the application.
Figure 38 Application Project Dependencies
Creating Configuration Files
This section describes the different configuration files that have to be created in order to properly
build and package the application so it can be deployed in the HP VAN SDN Controller.
Root POM File
The application root or parent pom.xml file, for which a template can be found in the HP VAN
SDN Controller SDK, allows defining common properties across the application’s source projects
pom.xml files. It also offers a single entry point to build the entire application. This POM file is
auto generated if the application generator tool introduced in Application Generator (Automatic
Workspace Creation) is used to generate the application.