A couple of weeks ago, I (seriously) started porting the JXTA protocols on top of the J2ME Connected Device Configuration (CDC) platform, and the Foundation Profile. The JXME CDC binding (An open source project hosted at JXME) will provide full JXTA edge peer functionality with TCP, and HTTP transport support, minus few optional services which can be added later on if there's enough demand for them. So far I have completed porting the core API's (Access, Discovery, Document, Endpoint, ID, Membership, Pipe, Rendezvous, Resolver, Service, PeerGroup, and all the core advertisements, and protocol messages), I have also completed porting some of the required implementation packages (WireBinaryFormat, ID, LiteXMLDocument, and all the advertisements and protocol messages, along with miscellaneous utilities). The port has been fairly straight forward (with a few minor bumps in the road), it included culling of deprecated API's, and general code cleanup which one would not normally notice in casual browsing of the code. Going forward however, I must lend some thoughts to simplifying the API, and I look forward to thoughts and comments on discuss@jxme. It is also very likely that devices running such platform are resource constrained, and in order to run efficiently, some implementation pkgs must be simplified to run efficiently on such devices. For example it is very likely an in memory LRU Cache-Manager will supersede the current persistent store Cache-Manager, another example is the endpoint service is likely to change dramatically from it's older cousin PLATFORM), as an edge peer functionality would not require all of the features. Remember, this effort is open source (JXME), and your participation & contribution are quite welcome.
Comments:

Hello! I got the updates already though CVS, however I have some problems. (import java.net.URI;) If the updates are for CDC, then I see that you use URI under jxme->proxyless->proto->src->net->jxta->peergroup->*.*, which is not included in the CDC and Personal Profile APIs? How is it possible, or am I doing or using something wrong? Also I have read the blog and see that you have ported much already. When I was doing it I had the problem with URI also which was missing, so I found one URI.java under the GNU project which was well suited to the J2ME Personal Profile, and some other classes missing, but existing in the J2SE. So, hope to get any comments. Thanks a lot, Tair.

Posted by Tair Assimov on May 04, 2005 at 03:13 AM PDT #

Tair, I forgot to mention that I am compiling against an early access reference implement ion of JSR218 which contains java.net.URI. I'll try to find more information on availability.

Posted by Mohamed AbdelAziz's Weblog on May 04, 2005 at 10:12 AM PDT #

Post a Comment:
Comments are closed for this entry.

This blog copyright 2009 by hamada