I'm an Atlassian too and long time user of Webwork2 and lately Struts2 in projects I work on in my spare time. Since we have this spanking new OSGi plugin system at Atlassian I've been playing more with OSGi in my side projects as well and it is very cool. One of the things that I really want to try and do in the near future is create a Struts bundle with an Activator and an implemenation of the extender pattern. So you'd do away with the typical application server, use an OSGi container and deploy the struts bundle along with one or more bundles that the extender checks for struts-plugin.xml files or (and this is more my preference as I'm really tired of XML config files) publishes a ContainerProvider as a service. The Struts extender bundle would track the availability of these bundles and reload the Container as necessary.
I'm pretty sure it will work, I just haven't found the time to actually try it out yet. But I'd be interested to hear thoughts on it. Rich On Thu, Sep 11, 2008 at 5:33 PM, Jeromy Evans < [EMAIL PROTECTED]> wrote: > Has anyone given any more thought to an OSGI container embedded within > Struts2? > > I ask because I growing to hate having to build and deploy entire war files > and regularly restart Containers. It seems far behind alternative > technologies. > > Is it conceivable that: > - the container provides the infrastructure (and almost never restarts); > - S2 provides a standard deployment/development environment (and is never > undeployed) > - the OSGI container within S2 provides the ability to deploy/undeploy > bundles within that environment > > Then, as an S2 developer I package my application up as sensible bundles > and deploy/update them as needed, so I'm working with tiny little jars > instead of massive wars. > > Some complex discovery is required with each bundle deployment but > achievable. I'd much prefer something like this rather than S2 apps > themselves being deployed within an OSGI container. > > Is this along the lines with your latest thoughts Don or Musachy or have > you moved on? > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >