Skip to main content

alphaWorks  >  Forums  >  TSpaces  >  developerWorks

TSpaces compatible with J2ME?    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 1 - Pages: 1 - Last Post: Jan 13, 2005 9:52 PM Last Post By: Toby Lehman Threads: [ Previous | Next ]
Michael
TSpaces compatible with J2ME?
Posted: Nov 15, 2004 03:46:39 PM
Click to report abuse...   Click to reply to this thread Reply
I'm looking for a method making TSpaces compatible with J2ME. TSpaces need the java.io.Serializable interface, which not exists in J2ME.

best regards
michael
Toby Lehman
Re: TSpaces compatible with J2ME?
Posted: Nov 19, 2004 12:45:09 PM   in response to: Michael in response to: Michael 's post
Click to report abuse...   Click to reply to this thread Reply
Our local J2ME (and OSGi) expert just sent me the following:
===========================
There are many different profiles. Some of them include serialization and some
don't.
The OSGi standard has two minimum execution environments defined. One is
Foundation and the other is a subset of Foundation. Both include serialization.

The two broad categories of J2ME are CLDC (Connected Limited Device
Configuration) and CDC (Connected Device Configuration). I believe that all CDC
profiles have serialization, but I'm not completely sure. Foundation is the
common CDC profile. CLDC does not have serialization (or Classloaders or
Reflection, etc). MIDP (the Java of cellphones) is
the common CLDC profile.
============================
I remember when Personal Java came out -- it included serialization, but not
RMI (which I'm sure was annoying to the Javaspaces folks.)

So, now we have to figure out which J2ME you're looking at, and if you really
need to use the one without serialization or if you can use the one that
includes it.
Toby

Point your RSS reader here for a feed of the latest messages in all forums