Providing an application endpoint

You 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.

Procedure

To enable WABs in your feature's bundles, add the com.ibm.wsspi.appserver.webBundle-1.0 feature to the Subsystem-Content: header in the .mf file of your feature:
Subsystem-Content: 
 my.user.feature.bundle; version="[1,1.0.100)",
 com.ibm.wsspi.appserver.webBundle-1.0; type="osgi.subsystem.feature"