Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » OSGi/Equinox on Java ME CLDC 1.1 IMP 1.0
OSGi/Equinox on Java ME CLDC 1.1 IMP 1.0 [message #102511] Wed, 05 December 2007 15:52 Go to next message
Giacomo Ghidini is currently offline Giacomo GhidiniFriend
Messages: 2
Registered: July 2009
Junior Member
Hi everyone!

I'm considering using OSGi Equinox on a small Java ME-enabled, CLDC
1.1-compliant with IMP 1.0 (i. e., scaled down UI-free MIDP 1.0 equivalent
standard) device. Does this meet Equinox minimum requirements?

According to OSGi spec origin in embedded device world and as stated in
Tom Watson and Jeff McAffer's JAOO 2006 Programming with Equinox at slide
16
http://www.eclipse.org/equinox/documents/jaoo2006/JAOO06-OSG i_Tutorial.pdf

"[OSGi on] CLDC is possible if class loaders are added in a device
specific way".

Given this statement, my questions are as follows:

- Could someone please tell me about/provide me with references/links to
learn how to run OSGi Equinox on a Java ME-based, CLDC 1.1-compliant
device?

- Should OSGi Equinox be specifically set up to run on such a device by
setting properties, adding libraries? Moreover, what steps should be taken
to provide class loader as referred to by Watson and McAffer? What other
issues should be considered to guarantee proper execution?

- Are there hardware requirements (CPU/microcontroller arch., RAM/flash
memory size) to run OSGi Equinox on small devices or does satisfaction of
software requirements imply that execution of OSGi Equinox is
straightforward?

- In case this isn't available with Equinox, what about the OSGi
specification? I guess it requires this feature, i. e., OSGi running on
CLDC once class loader issues are solved.

Thank you very much in advance for your valuable replies.

Giacomo
Re: OSGi/Equinox on Java ME CLDC 1.1 IMP 1.0 [message #102529 is a reply to message #102511] Wed, 05 December 2007 19:32 Go to previous messageGo to next message
Tilo Gau is currently offline Tilo GauFriend
Messages: 36
Registered: July 2009
Member
Just a note:

There is Concierge (http://concierge.sourceforge.net/), a OSGi v3
implementation especially for mobile and embedded systems.
Re: OSGi/Equinox on Java ME CLDC 1.1 IMP 1.0 [message #102545 is a reply to message #102511] Wed, 05 December 2007 19:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.us.ibm.com

The eRCP project specializes in this domain:
http://www.eclipse.org/ercp

Cheers,

~ Chris
Re: OSGi/Equinox on Java ME CLDC 1.1 IMP 1.0 [message #102552 is a reply to message #102545] Wed, 05 December 2007 21:20 Go to previous message
Giacomo Ghidini is currently offline Giacomo GhidiniFriend
Messages: 2
Registered: July 2009
Junior Member
Hello!

Thank you for your suggestion but I'm not planning to develop eRCP
applications as I'm working on wireless sensor devices without GUI - they
only feature a couple of buttons and few LEDs so that I'm interested in
OSGi rather because of deployment and maintenance issues made easier by
it. As I read in your presentation at EclipseWorld 2006 at slide 6, eRCP
is aimed at providing RCP capabilities on CDC, not CLDC.

In my case, I'm interested in running Equinox or another OSGi
implementation on Java ME CLDC 1.1, not CDC, so that I'd like to know how
one must deal with class loader to make OSGi work on CLDC 1.1 with IMP 1.0.

I found Concierge OSGi interesting but I was wondering if anything is
available for OSGi R4 as Concierge is an OSGi R3 implementation. Moreover,
Concierge runs on Java ME CDC Personal Profile as stated in a paper
written by developers
http://www.iks.inf.ethz.ch/publications/files/rellermeyer_eu rosys07.pdf at
p. 14. One can see that they tested it on CDC profile.

In the same paper at p. 3 they claim that J2ME is not a valid execution
environment at all, thus apparently clashing with Watson and McAffer's
suggestion about workaround that I quoted in my previous post that was
given at JAOO 2006 presentation. The very same slide is featuring in
EclipseCon 2006 Watson and Kriens's "OSGi Component Programming Tutorial"
(p. 16), however without further explanation.

What are the actions to be taken in order to make an OSGi implementation
run on Java ME CLDC 1.1? Is it just some form of tuning such as properties
or part of the OSGi implementation should be redesigned/rewritten/rebuilt
accordingly? It seems to me, it all resides in having some form of user
defined class loading required by OSGi to provide its very basic features
of installing/uninstalling bundles, i. e., making classes available to
class loaders and removing them. However, I can't get the fog out of it.

Thank you for your time,

Giacomo
Previous Topic:jboss eqquinox ejb call failed
Next Topic:Equinox JSPFactory demo code?
Goto Forum:
  


Current Time: Thu Apr 25 18:11:38 GMT 2024

Powered by FUDForum. Page generated in 0.04345 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top