On Friday 09 March 2007 03:57, Nikunj Mehta wrote:

> How do people overcome this problem? Can OSGi provide a standard
> solution to this major barrier to adoption?

(Felix is also trying to coordinate the bundlezation of 'everything in OSS'.)

BUT, there are issues about "standard solution". Not all third-party systems 
can be bundlized without a deeper knowledge of what is inside.

For instance; commons-httpclient will create threads internally, and if you 
unload this bundle, many resources are not released, incl classloader, 
classes and held connections. The "solution" in this case is to add a 
BundleActivator that calls a shutdownAll() in te stop() method.


It is likely that a large set of third-party libraries that has been 
bundlized, will not work accordingly to the OSGi specification, and we will 
witness a degradation of OSGi bundle quality as a result of this.


Cheers
Niclas
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to