Results 1 to 2 of 2

Thread: How to split a web interface across bundles?

  1. #1
    Join Date
    Oct 2008
    Posts
    0

    Default 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. #2
    Join Date
    Mar 2005
    Location
    The Netherlands
    Posts
    121

    Default 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:
    https://issuetracker.springsource.com/browse/PLATFORM-97

    Joris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •