Try to run the multiple submodules as bundle/services in an OSGi contained (preferably equinox). Use the HTTP service in place of raw jetty.