JxtaCMahabaleshwar < Jxta < TWiki

TWiki . Jxta . JxtaCMahabaleshwar

JXTA-C "Mahabaleshwar" Release Summary

Acknowledgments

Special thanks to all of the community members who have contributed ideas, reported problems, provided patches, and have helped greatly to improve the quality, and robustness of this release.

With this release we are starting a new tradition. With each release we plan to recognize the contribution of a community member to JXTA-C by awarding them a JXTA T-shirt.

For this release we are awarding the shirt to Eric Xu (mmx2005@jxta.org). He had been helping very much on code reviews. He also has being doint lot of testing, reporting issues and submitting patches.

Speaking of long term contributors, we are also recognizing Stefan Lankes (lankes@jxta.org) with a T-shirt. As a JXTA-C "Hall of Fame" contributor, Stefan has been contributing to JXTA-C as a Win32 build maintainer and leads the effort for .NET binding.

We hope to award more T-shirts for new contributors, long term contributors and those who go the "extra mile" as part of future releases.

New Features & Significant Changes

Thread pool support

We are working toward to reduce resource consumption in JXTA-C platform. The first target is threads. We are moving all threads to using a common thread pool created in the NetPeerGroup.

In this release, the endpoint is now using the thread pool to send messages, and listeners used by all core services are in direct callback mode. A new API, jxta_listener_pool_object is available to utilize a thread pool for handling events, which will be used in the future if appropriate.

There are other services using threads to perform periodical tasks, those are going to be migrate away in next release after we add timer task support for the thread pool.

The thread pool implementation is being contributed back to APR project. Before the official APR release to include thread pool, we would have it in the jpr code base. Alternatively, you can choose to build a patched version of APR.

jxta_log_callback function prototype changed

Definition of jxta_log_callback is changed from

typedef Jxta_status(JXTA_STDCALL * Jxta_log_callback) (void *user_data, const char *cat, int level, const char *fmt, va_list ap);

to

typedef Jxta_status(JXTA_STDCALL * Jxta_log_callback) (void *user_data, const char *cat, int level, const char *msg);

The change make sure a consistent rendering of log messages within jxta by using format string as APR, in the mean time still allows developers to do additional formatting in the callback function.

jpr is built to be a static library as an integral part of jxta

On *nices platforms build with GNU Autotools, libjpr is now built as a static library, and is linked to be an integral part of libjxta. To application developers, this should be pretty transparent if you are using pkg-config to figure out build options.

Downloading and Installing

You can download the dist tarball from: http://download.jxta.org/build/release/c/2.5/ or alternatively directly access CVS.

The instruction on how to build JXTA-C can be found at: http://wiki.java.net/bin/view/Jxta/HowToBuildJXTA-C

We are looking for people to maintain binary build for their favorite OS, please let us know if you want to contribute. <mailto:discuss@jxta-c.jxta.org>

Known incompatibilities between JXTA-C 2.5 and prior JXTA-C 2.x

releases

Issued Closed During JXTA-C 2.5

245 DEFECT P2 JSE edge connect to C RDV cause JXTA-C RDV segment fault
238 PATCH P2 Using threadpool in endpoint and add callback interfaces
235 ENHANC P3 jxta_log_callback using string
234 DEFECT P5 don't replicate message back to ourselves
240 DEFECT P5 add 'desc' element to pipeadv
244 FEATUR P5 export pipeadv from Jxta_pipe

To see a complete list of fixes, please refer to the ChangeLog file at following URL: http://jxta-c.jxta.org/source/browse/jxta-c/ChangeLog?rev=1.7

Known issues in JXTA-C 2.5

246 DEFECT P3 jxtaShell segment fault if the port specified is in use
242 DEFECT P3 tasks remains in thread pool after a peer group stops, which
247 DEFECT P3 JXTA-JSE SRDI uppercase the value, JXTA-C is case sensitive

You can see a full list of currently open issues for JXTA-C at following URL: http://jxta-c.jxta.org/issues/buglist.cgi?issue_status=UNCONFIRMED&issue_status=NEW&issue_status=STARTED&issue_status=REOPENED

----- Revision r4 - 21 Jun 2006 - 02:36:35 - Main.slowhog