Re: [osgi-dev] Some questions on OSGi and embedded devices

2006-09-22 Thread BJ Hargrave
[EMAIL PROTECTED] wrote on 09/22/2006 01:46:17 PM:

> Hi there,
> I got some questions from a big customer and would like to ask them
> here, since I don't really know the answers:
> 
> - in order to implement MIDP3, is it a prerequisite to have OSGi, CDC
> and JSR232 supported?

No. MIDP3 is orthoginal to OSGi and JSR 232. It should be possible to 
implement MIDP3 with OSGi/JSR 232.

> 
> - Is it possible to support OSGi on top of KVM, which is, does OSGi
> demand the Java reflection system?

By KVM, I assume you mean a CLDC VM? OSGi requires classloader support and 
some reflection. OSGi could be implemented on CLDC *IF* there was someone 
for the implementation to define and use class loaders and reflection. 
This does not need to be through the java.* API but could be some VM 
specific API. So the VM would have to provide that API and the framework 
impl would need to use that API.
> 
> - Is there a way to support CLDC on top of CLC in order to support
> both profiles with the same JMV/Code?

Well CDC is a superset of CLDC. So you are already done.

> 
> - Is there something like OSGi for C in order to handle dynamic dll
> loading (in case the dynamics themselves are already solved, it's more
> about dependency resolution and meta data between dlls/bundles)
> 

A lot of the features of OSGi are based upon Java capabilities like 
dynamic class loading and unloading. None of the this exists in any 
standard way in native code. It would all have to be invented for each 
native platform assuming the native linker/loader even supported it.


> 
> Cheers
> 
> /peter
> 
> 
> P.S. Thanks for a very nice OSGi Enterprise Workshop!
> ___
> osgi-dev mailing list
> osgi-dev@bundles.osgi.org
> http://bundles.osgi.org/mailman/listinfo/osgi-dev


BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[EMAIL PROTECTED]
Office: +1 407 849 9117 Mobile: +1 386 848 3788


___
osgi-dev mailing list
osgi-dev@bundles.osgi.org
http://bundles.osgi.org/mailman/listinfo/osgi-dev


Re: [osgi-dev] Some questions on OSGi and embedded devices

2006-09-22 Thread Peter Kriens
PN> Hi there,
PN> I got some questions from a big customer and would like to ask them
PN> here, since I don't really know the answers:
PN> - in order to implement MIDP3, is it a prerequisite to have OSGi, CDC
PN> and JSR232 supported?
Nope, MIDP 3.0 will run on CLDC and will not require OSGi/JSR 232.

PN> - Is it possible to support OSGi on top of KVM, which is, does OSGi
PN> demand the Java reflection system?
Usually the problem is related to class loader. Implementing OSGi
without reflection is virtually impossible because it is required in
certain cases, like for example the filters.

PN> - Is there a way to support CLDC on top of CLC in order to support
PN> both profiles with the same JMV/Code?
CLDC is a virtual subset of CDC so most code running on CLDC will run
on CDC.

PN> - Is there something like OSGi for C in order to handle dynamic dll
PN> loading (in case the dynamics themselves are already solved, it's more
PN> about dependency resolution and meta data between dlls/bundles)
Nope, but it has been popping up its head from day 1. The problem is
that we get so much from Java that if we go to native code we have to
specify so much more. And security will be very hard. But there has
been discussions, one of the discussions was around a model with X-COM
from Mozilla.

Kind regards,

 Peter Kriens
 


PN> Cheers

PN> /peter


PN> P.S. Thanks for a very nice OSGi Enterprise Workshop!
PN> ___
PN> osgi-dev mailing list
PN> osgi-dev@bundles.osgi.org
PN> http://bundles.osgi.org/mailman/listinfo/osgi-dev

-- 
Peter Kriens  Tel +33467542167
9C, Avenue St. DrézéryAOL,Yahoo: pkriens
34160 Beaulieu, FranceICQ 255570717
Skype pkriens Fax +1 8153772599

___
osgi-dev mailing list
osgi-dev@bundles.osgi.org
http://bundles.osgi.org/mailman/listinfo/osgi-dev


[osgi-dev] Some questions on OSGi and embedded devices

2006-09-22 Thread Peter Neubauer
Hi there,
I got some questions from a big customer and would like to ask them
here, since I don't really know the answers:

- in order to implement MIDP3, is it a prerequisite to have OSGi, CDC
and JSR232 supported?

- Is it possible to support OSGi on top of KVM, which is, does OSGi
demand the Java reflection system?

- Is there a way to support CLDC on top of CLC in order to support
both profiles with the same JMV/Code?

- Is there something like OSGi for C in order to handle dynamic dll
loading (in case the dynamics themselves are already solved, it's more
about dependency resolution and meta data between dlls/bundles)


Cheers

/peter


P.S. Thanks for a very nice OSGi Enterprise Workshop!
___
osgi-dev mailing list
osgi-dev@bundles.osgi.org
http://bundles.osgi.org/mailman/listinfo/osgi-dev