Hi All,
I'm rather new to OSGi, but I'm making good progress in understanding the space thanks to the great Virgo Web Server documentation and GreenPages example app- both of which I know SpringSource are largely to thank for.
My main reason for investigating OSGi-enabled web containers (or is Virgo a web-enabled OSGi container?) is that I'm trying to identify the technology stack upon which another platform can be built (business platform).
The goal here would be for multiple parties to contribute quot;appsquot; (literally, WARs or WABs) that would be deployed to the OSGi container, and they would all leverage certain services of the business platform by accessing OSGi services that are contributed by a quot;corequot; bundle. That seems rather straight forward, except in one case...
Part of my goal here would be that individual web applications running on the platform contribute to the view layer, but that the platform should also contribute to the view. In other words, I would want to construct a composite view where most of what one sees is handled by the app in question, but header, footer, menus, etc. are provided by the container.
The only progress I've made toward this is a vague notion that perhaps my ViewResolver should be an OSGi service provided by the core bundle, but that doesn't seem to be without problems of its own because whatever technology (e.g. Tiles2) is used to construct the composite views, it's going to need access to resources (e.g. JSPs) that are within individual WARs or WABs and are not exported.
I get the feeling though that what I'm shooting for here can't be an entirely unique requirement. I'd like to think that collectively, this community has stumbled across this issue before and could contribute some constructive ideas.
If anyone has any thoughts, all insight is much appreciated! |