Thursday, August 13, 2015

Babbler Version 0.6.0

I am happy to announce the release of version 0.6.0 of the Java XMPP library, which has also been released to Maven Central!

This version is an important milestone because it’s the first version which is written solely for Java 8!

In particular that means, it leverages many of the new Java 8 goodies, most notably the new Date/Time API, Functional Interfaces (e.g. Predicate) and Lambda Expressions and paves the way for future improvements (e.g. Stream API) to keep the library modern.

The legacy Date API (java.util.Date/Calendar/TimeZone) has been replaced by the new java.time package, i.e. Instant, OffsetDateTime and ZoneOffset.

Event Listeners have been replaced by java.util.function.Consumer, which really saved a lot of similar interfaces and thanks to lambdas there isn’t even a syntactical difference.

New Features

A special release highlight is the support for the Jabber Component Protocol, which allows you to write External Components for an XMPP server. So the library isn’t exclusively usable for client development anymore, but now also for server component development! More about that in a future blog post.

Further new features are:

The full changelog with more information can be found here.

The updated documentation can be found here.

Support for XEP-0198: Stream Management is nearly done, but still needs some polishing, so it’s postponed to the next version.

Thanks for everybody who provided feedback and bug reports! I’m happy to hear more from you!

7 comments:

  1. Really cool, but is there any plan that you will consider same thing for android. Your current development is under Java 8, android works on java 7.

    ReplyDelete
    Replies
    1. No, sorry, there are no plans for Android. It's not only Java 7 vs. 8 question, it's also parts of the API, which are unavailable on Android (especially JAXB, which this library is built on, and SASL). This library was never targeted/developed for Android, not even previous versions which ran on Java 7.

      Delete
  2. Nowadays, Java may be a well recognized artificial language within the field of net programming for numerous reasons.
    This text describes on why this object familiarised, multi tasking artificial language is earlier than others and obtaining additional
    widespread amongst the computer code developers.
    java

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Hello, i am using your library, and run into some problem/bug/issue. I can not paste code here correctly, could you please mail me to umirov.n@gmail.com?

    ReplyDelete