Create a Liberty feature using developer tools
We can use the WebSphere Application Server Developer Tools to write our own features, and install them into an existing Liberty profile server, or to package them for delivery to the users.
To develop a Liberty feature in the WebSphere Application Server Developer Tools, we create a Liberty feature project and target it to the WebSphere Application Server Liberty profile version 8.5.5 or later.
You add OSGi bundles containing classes and services that implement the function provided by the Liberty feature. If the feature provides any API packages to OSGi applications, or SPI packages to features in other product extensions, we can declare those packages in the Liberty feature manifest file.
We can export the liberty feature as a compressed file that can be extracted over an existing WebSphere Application Server Liberty profile to extend its capabilities.
For more information on creating Liberty features, see Product extension.
Creating a Liberty feature using WebSphere Application Server Developer Tools is described in more detail in the following subtopics:
Subtopics
- Create a Liberty feature project
- Add OSGi bundles to a Liberty feature project
- Specify API and SPI packages for a Liberty feature project
- Install a Liberty feature to the Liberty profile V8.5.5
- Manually installing a Liberty feature to the Liberty profile V8.5 or earlier
Parent topic: Develop a Liberty featureTasks:
Develop a Liberty feature manually