The Stanbol HTTP endpoint entry point is currently packaged in the enhancer/jersey bundle.
The HTTP endpoint should be refactored into its own top level OSGi bundle called org.apache.stanbol.web. Other components, like the enhancer, can then contribute their JAXRS resources to this top level bundle.
The top level web bundle should not have any knowledge about concrete bundles that contribute their JAXRS resources to this web bundle.
- New bundles register their JAXRS resources at the commons web bundle.
- The commons web bundle is responsible for making the resources available.