On Wednesday 30 January 2008 21:58, Mirko Jahn wrote:

> The fact that until some initial permissions
> are set, the framework (by definition) have to grant AllPermission to
> all potentially installed bundles (as BJ pointed out) is neither the
> default nor the recommended behavior of the JVM. 

Not sure I agree with you here. The situation should be similar to any 
application server. You grant, via the standard Java policy, AllPermissions 
to the Framework and potentially the CPA agent. Then those can start 
establishing their own protection domain from there on.

> I have to admit though, that I am
> pretty biased, because I am research related and there you work
> theoretical for pretty much the most amount of time. Many things are
> conceptually evaluated and here you can't argue with implementation
> details if you are trying to make a general statement. 

Fair enough. I like OSGi spec from the angle that everything up until loading 
the bundle is left outside it, since the environment can be very different 
from PDA to SetTop to Server, but it tries to be extremely precise once the 
framework is up. For me it is a good thing, because I know the implementors 
will try to excel over the others. However, it also means I need to know more 
systems, and the reason why I created "Pax Runner"[1] to let me run 
effortlessly on many frameworks.

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