Provide an application endpoint
We can make a Liberty feature available as web applications by including one or more web application bundles (WABs) in the feature. A WAB is an OSGi bundle with a Web-ContextPath manifest header.
To enable WABs in the feature's bundles, add the com.ibm.wsspi.appserver.webBundle-1.0 feature to the Subsystem-Content: header in the .mf file of the feature:
Subsystem-Content: my.user.feature.bundle; version="[1,1.0.100)", com.ibm.wsspi.appserver.webBundle-1.0; type="osgi.subsystem.feature"
Subtopics
- Secure an application endpoint
We can secure the feature's application endpoint by performing the following steps:
Parent topic: Develop a Liberty feature