Fork us on GitHub

Fast Push Communication Using PubNub

This came out 5 months ago but the guy from PubNub didn't up...

Fast Push Communication Using PubNub

This came out 5 months  ago but the guy from PubNub didn't update us on the status so we just didn't notice this until now. That's probably a good sign of us being too busy. There is now official PubNub integration for Codename One, which means you can get push like fast 2 way communications between devices without writing too much code.

How does it work?
PubNub has CDN like operations around the world, this means they can keep a high performance channel to your devices and send peer to peer or server/peer messages REALLY fast.

How is this different from just using Push notification?
These aren't separate ideas, push is generally good if the application isn't running. Its also good for very small messages and provides no delivery guarantees. So using push for a chat application might not be the right thing but using PubNub for that makes perfect sense.

There is now a Codename One SDK from PubNub and a tutorial related to the SDK that should help you get started right away and even a quick start tutorial . Normally we write a tutorial for things such as these but the guys at PubNub did such a good job at making this really simple, there is really no need to do so. Check out their work and let us know what you think.

Notice: This post was automatically converted using a script from an older blogging system. Some elements might not have come out as intended.... If that is the case please let us know via the comments section below.

Share this Post:

Posted by Shai Almog

Shai is the co-founder of Codename One. He's been a professional programmer for over 25 years. During that time he has worked with dozens of companies including Sun Microsystems.
For more follow Shai on Twitter & github.