Masters of R4 specification,

I am reading chapter 3.8.3 to 3.8.5, and also making observations from the so 
called reference implementation, Equinox.

If I create a bundle which uses javax.swing, but don't declare that in the 
Import-Package, it will still workas in Equinox and the way I interpret the 
spec that is wrong.

IMHO, this is a typical interoperability problem, that it is very unfortunate 
the Reference Implementation exposes. Many bundles that works on Equinox does 
not work on Knopflerfish and/or Felix, as they seem to interpret the 
specification similarily to how I read it.

I also feel confident that the "defense" of the RI would be "user 
convenience", but it is definitely the wrong way to go about it. Convenience 
can not come at the expense of large number of incompatible bundles, and that 
the platform has to be tweaked to accommodate for the bundles that think they 
are accurate since they run on the Ref Impl.


The same test can be run by;

java -jar $EQ/plugins/org.eclipse.osgi_3.3.0.v20070208.jar -console -clean

osgi> install http://www.ops4j.org/~niclas/equinox-test-1.0.0-SNAPSHOT.jar


I am interested to hear from the open source actors, their views on 
interoperability of bundles out of the box and what we can do about the 
current situation. If nothing is done real soon, we are ending up in the same 
mess as servlet engines and ear application servers.


Cheers
-- 
Niclas Hedhman, Software Developer

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to