Re: Osgifing Tomcat

2008-04-28 Thread pkriens
and complex, but it is surprisingly simple when you try it out because it feels very natural in an OSGi environment. Programming models like Spring DM, iPOJO, DS, etc. can further help to support this model while not showing up in any Java code. Kind regards, Peter Kriens Damien Bonvillain wro

Re: Osgifing Tomcat

2008-04-28 Thread pkriens
> Someone recently pointed out to me that the Bnd tool comes with ant > tasks. I haven't tried that (we've used maven in commons) and I > suspect that there isn't the option to just produce the manifest > (rather than jar and manifest) as there is in the maven plugin. If > that was required then i

Re: Osgifing Tomcat

2008-04-28 Thread pkriens
> my feeling is though, is that you are going for the "mavenization" just > to run the BND or BNE or whatever the plugin is called, that generates > the OSGi manifests. The project is called bnd (pronounce b and d). The jar can be used as an ant task, command utility, eclipse plugin, and library

Re: Osgifing Tomcat

2008-04-27 Thread pkriens
> I think the first main problem with these frameworks is how intrusive > they are, esp compared with whet they provide :( I suppose there's no > problem with doing a tomcat-osgi in the sandbox if people want to. As I > said I really don't care. We tried awfully hard to be not intrusive :-( Actua

Re: Osgifing Tomcat

2008-04-27 Thread pkriens
> Just my 2c: Eclipse, OSGified since 3.2, still doesn't fully support > updates without a JVM restart; and they have full control about the > whole aspects. Unfortunately there are tens of thousands of plugin writers out there that are not aware of the dynamics. Eclipse migrated to OSGi 4 years

Re: Osgifing Tomcat

2008-04-27 Thread pkriens
The way the dynamics work in OSGi is only partly classloading. In the HTTP examples, we have defined an HttpService where you register a servlet. When a bundle (OSGi JAR) is started, it registers a servlet with the http service. When it is stopped, the Http Service detects this and removes the map

Re: Osgifing Tomcat

2008-04-27 Thread pkriens
> I've heard various claims of this nature from osgi zealots, but when > talking to apparent experts the only things resembling this they > seemed to know about were grad student experiments that did not have > production use as even a far-in-the-future goal. Do you know of any > actual e