News

Java SDK v4 Beta

2 min readPubNub Staff on May 27, 2016
Try PubNub Today

Free up to 1MM monthly messages. No credit card required.

Subscribe to our newsletter

By submitting this form, you are agreeing to our Terms and Conditions and Privacy Policy.

We are happy to announce Version 4 of our Java SDK is ready for beta testing. Get it now! The new Java SDK is completely rewritten from the ground up to be better, stronger, faster. You can almost hea...

We are happy to announce Version 4 of our Java SDK is ready for beta testing. Get it now!

The new Java SDK is completely rewritten from the ground up to be better, stronger, faster. You can almost hear the theme music from the Six Million Dollar Man, but you don’t need a bionic eye to see how great this update is.

Zoom into eye of the Six Million Dollar Man

Our updated Java SDK has a new architecture (like the iOS v4 SDKs), and can be used on any Java platform including Java SE, Java EE, and Android. Here are just a few of the many improvements

  • Reworked PubNub method invocation, each PubNub request is constructed via the builder / fluent API making it seamless to gradually construct requests.
  • Configuration knobs and feature flags are initialized in one seamless PubNub configuration via the PNConfiguration class.
  • Subscribe / Presence / Status messages are now coming through the global callbacks, introducing a design parity with iOS clients.
  • Supports the new v2 Publish / Subscribe API which allows server side message filtering configured by the client.
  • Synchronous and Asynchronous executions for each PubNub method are now contained within the same initialized class .
  • Logging is enabled via a configurable inside PNConfiguration, debug jars are no longer required.
  • Reworked networking stack via the Retrofit and OkHTTP clients
  • Brand new cryptography stack and elimination of the bouncycastle dependency.
  • Unified distributables for Java and Android

Before we release the final version we’d like you to help us beta test it. Our software isn’t done until you say it is, so please try it out.

More from PubNub

Can Empathy Exist in the Metaverse
News May 16, 20221 min read

Can Empathy Exist in the Metaverse

A roundtable discussion led by PubNub’s COO, Casey Clegg, exploring the topics of what it means to be human in a virtual world.

PubNub Staff

PubNub Staff

How to Advance Telehealth and Virtual Care Technologies
News May 2, 20221 min read

How to Advance Telehealth and Virtual Care Technologies

Dr. Joe Kvedar, Chair of the Board for the American Telemedicine Association, joins our COO, Casey Clegg, to discuss why...

PubNub Staff

PubNub Staff

Another Step Towards Data Security: ISO-27001 Implementation
BuildMay 2, 20221 min read

Another Step Towards Data Security: ISO-27001 Implementation

Today, we are glad to announce that we are currently in the process of implementing ISO-27001 security standards.

PubNub Staff

PubNub Staff