Announcement Announcement Module
No announcement yet.
How to split a web interface across bundles? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to split a web interface across bundles?

    The example applications all seem to have the entire web interface in a single bundle (with separate back end service and/or library bundles). But how would I go about splitting up the web interface (Spring MVC + JSP) across several bundles? I'm looking into using OSGi to provide an Eclipse-like plug-in mechanism for an application. Pax Wicket appears to support something along those lines, but it's not obvious to me that this can be done with Spring MVC + JSP as well.

  • #2
    How to split a web interface across bundles?

    I don't think this can be done at the moment: all JSPīs have to live inside the same WAR file or web module if they belong to the same web application (i.e. sharing the same ServletContext).
    I opened a feature request to enable OSGi fragments to be used for this exact purpose a while ago, you might want to watch that issue. You can find it here: