Anatomy of a Digital Service application
The Digital Service application or smart library that you develop is packaged as a smart bundle. The smart bundle contains all the essential elements, which are required to deploy an application in BMC Helix Innovation Studio. This topic explains in detail the anatomy of an application or a smart library.
Smart bundle details
A smart bundle is a Open Service Gateway Initiative (OSGi) JAR file, which may consist of JAVA classes, web files, JSON, and templates.
A bundle consists of the following attributes:
- Bundle ID
- Version number
- Dependencies on other smart bundles
The code for an application development or a library development is packaged and deployed as a bundle. The following image describes the code division and code development personas:
The code for client UI, UI extensions, and server extensions is created by a developer. The definitions for an application are created by either a developer or an application business analyst.
A typical smart bundle consists of code for the following sections:
- Data and definitions—Set of definitions that can be customized as per the business requirements without modifying the application code.
|Configuration data||Configures the application behavior through data.|
|Application data||Consists of data like record instances.|
Configures application definitions using BMC Helix Innovation Studio, which provides the following features:
This includes the following definitions and their capabilities:
- Server extensions— (code in Java)
Applications and smart libraries are deployed as deployment packages. Deployment packages are created in the application development environment and are deployed by using Maven and the archetype. For more information, see Deploying your Digital Service application for the first time to start working in BMC Helix Innovation Studio.
Comparison between application and library bundles
You can develop an application or a smart library using BMC Helix Innovation Suite. An application provides solutions for your business needs. A smart library is a reusable set of components that can be used to develop an application. For example, a PTO application may include an approval library that provides the elements required to create approval process.
|Purpose||Provides a complete set of business ready functionality.|
Provide a reusable building block for building applications.
|Target consumer||Remedy consumer who needs business functionality.||Remedy consumer, partner, or a software developer.|
|Application switching||It is available in the application switcher in the navigation bar of the user interface (UI).|
It is not available in the application switcher in the navigation bar of the UI.
|Entry point||It has an index.html entry point.|
It usually does not has any entry point. All UI entry points are from an application.
For example, Approval library.