![[16.0.0.3 and later]](../ng_v16003plus.gif)
Configuring an application endpoint
A WAB Configuration file is used to configure a Web Application Bundle (WAB). To configure a WAB, a WABConfiguration must be registered as an OSGi service. The WABConfiguration is a marker interface that has no methods. Configuration for a WAB is specified by the WABConfiguration OSGi service registration by using the contextName and contextPath service properties.
About this task
A WAB specifies the context path by using the OSGi bundle manifest header
Web-ContextPath. To specify that a WAB has a configurable context path, the
Web-ContextPath header value must begin with the @ character and
the remaining content after the initial @ character is used as the
contextName. The following example illustrates a WAB with a configurable
context path:
Web-ContextPath: @myWABContextPath