Skip to main content

New JXTA Micro Edition (CLDC/MIDP 2.0)

Posted by hamada on February 2, 2008 at 12:21 PM PST


Last week a new version of the JXTA edge protocols was open sourced at
the "Java Mobile and
Embedded Developer Days
".  Up until recently the JXTA
protocols have been implemented under JavaSE, C, JavaME CDC profile,
and proxy version under CLDC.  The JXTA ME/CLDC proxy version had
been pretty limited in the functionality it provided under CLDC, due to
that fact that relied on a proxy for it's participation within a
network, however, now with the new addition of the protocols, it is now
possible for a MIDP 2.0 compliant device to participate in a JXTA
network as first class device. 

A mobile device is now able to:

  • Describe and publish advertisements about phone resources
  • Discover network resources
  • Establish direct and virtual multicast connections to other nodes
  • Use portable JxtaSocket, JxtaMulticastSocket (sub-class of and MutlicastSocket respectively)
  • Use a datagram like asynchronous bidirectional JxtaBiDiPipe
style="width: 205px; height: 174px;"
alt="JXTA Micro Edition (CLDC/MIDP 2.0)"
title="JXTA Micro Edition (CLDC/MIDP 2.0)"
  • Join or create a virtual private domain
style="width: 379px; height: 281px;" alt="Virtual Private Domain"
title="Virtual Private Domain"


In the past few years mobile devices have advanced in their multi-media
and networking capabilities, however the usefulness of such features
has been very limited,
due to access difficulty of content or the need for multiple
services.  In most
cases a user must transfer content to/from the mobile device through
wired or Bluetooth connection, or rely a central point of
exchange, making it cumbersome for seamless content/data

With the availability of the JXTA platform on such devices, it is
now possible for a user to create and define members of a virtual
domain, where discovery and full connectivity is possible within the
domain.  Thus enabling seamless cross internet data access and
synchronization (imagine photo album, calendars, and contacts), and
connectivity (imagine multi-media streaming between home (desktop/TV),
office, and mobile device).  This functionality was demoed at the
"Java Mobile and Embedded Developer Days", whereby a desktop and mobile
device seamless shared photos, the mobile device discovering a printer
within the domain, and remotely printing one of the photos. If you
missed the conference or the web-cast, you can access the slides from href="">here.

The sources have been opened under href="">
(under midp2), under the JXTA license. We encourage community
participation in testing and writing applications which take advantage
of seamless discovery and connectivity in creating useful applications
for mobile devices.

Related Topics >>


hi mohammad, i am also working on JXME proxyless for CLDC but i am un able to start the Jxta Platform with these sources, and also i dont found any HelloWorld type program specifice to JXME Proxyless for CLDC.. any help in this will be highly appreciated.

Hi Mohammad, Could you please tell me when is the release of MIDP2.0/CLDC proxyless expected? If is ok to work with the existing sources? I wonder why I am not able create a netPeerGroup to start the Jxta environment. Somehow there is always an exception. For the CDC, howcome the log4j compatible with J2SE platform could run with the CDC platform in the Jxta 2.1.3 release? If this log4j is compatible with CDC, then what could be the reason of getting a verify error on execution. I would appreciate if you respond to my inquiries.


I'm doing my university project based on JXTA for J2ME. We're supposed to analyze the performance of JXME.

It's been a while I'm following the development of JXTA and the articles all over the net, nevertheless, few resources are available for starters to get brighten up in details about the very primary settings to get involved with this project. To me as a beginner in JXTA, the very simple thing like how to implement the JXME code into the hand-phone is an issue or even how is JXTA shell is executed - is it just by downloading and running the shell file or there is something like Java Wireless Toolkit to install? - or any other setting regarding connecting, compiling and running the project.

Anyhow, I learnt a lot and a lot more yet to learn.

It was a great refreshing video which cleared up some questions I had about JXTA.

Thanks to the team and your efforts...

Hi Mohammad, This is great to know the availability of JXTA for MIDP 2.0. However, I did not see any official release of MIDP 2.0 libraries on the official JXTA releases like 2.1.3. It only contains MIDP, proxy and proxyless (for CDC) binaries. When is it expected to get an official release of CLDC/MIDP 2.0. Is the current opensource code enough to get started with some interesting mobile phone apps? I would appreciate if you clarify!

The source bundle should be available soon. It was not made available at the time of release as it was missing JxtaSocket and JxtaBiDiPipe, however now they are integrated, a source and binary bundles should be available soon.