Over the weekend I added the remaining core services to bring JXME several more steps closer to a functional JXTA platform under the J2ME CDC 1.1 personal foundation profile. The most difficult services to port/integrate were the Rendezvous, and Resolver service, due to interdependencies and additional required components such as the PeerView. What remains now is implementing an LRU (Least Recently Used) cache to support an in memory resource cache, as well as a built-in platform configuration factory. With my last commit the following is available :

ResolverService, Edge only functionality (no incoming SRDI handling)

RendezvousServcie, Edge, and ADHOC functionality with forced maximum ttl propagation in both modes, I expect to much more trimming, simplification will occur in this package.

PipeService, exposes only valid APIs to support Unicast, and Propagate pipes, and also in support of bidirectional pipes. You should expect JxtaSocket JxtaBiDiPipe to be added later on. I also expect that these utilities will be refactored to utilize a common bidirectional layer (something I had planned on from the beginning just never got around to it).

DiscoveryService, exposes all valid APIs to support local, and remote discovery. Will probably expose extended APIs which allow discovery of an advertisement in a single call (perform local, remote) and avoid caching the advertisement, rather all the application to make that call. The port of the discovery service included the addition of skeletal in memory Cm and SrdiCache, and a SRDI service.
Currently the platform footprint is sitting on about 581K, and I expect it to remain at about that value, even with the addition of a ConfigurationFactory, and caches, as I expect to trim and consolidate components.

Comments:

I would like to configure a JXTA peer to make it act as a proxy for JXME peers. If I configure it manually (using the GUI) it works fine, but it does not work if I use this XML profile: http://dsg.ce.unipr.it/research/SP2A/proxyProfileXML.txt what is wrong? I can't find examples of PROXY profiles, while I found all the other profiles in JXTA source distribution and also on JXTA wiki. (note: I want my peer being in a provate NPG, thus I put a config.properties in their .jxta dir, with my private NPG ID)

Posted by Michele Amoretti on May 17, 2005 at 06:03 AM PDT #

Post a Comment:
Comments are closed for this entry.

This blog copyright 2009 by hamada