Ok, thanks for advice ! 

Actually, I think I will use websocket. My problem is : I already have a 
JAX-WS webservice on my server -> Can I use websocket (server side) in 
parallel of my webservice or do I have to deploy another web application ?

(FYI, the codenameone sdk will continue to work after March 1st in contrary 
of what I have mentionned above)

On Friday, January 27, 2017 at 7:35:15 AM UTC+1, Shai Almog wrote:
>
> Hi,
> in that case there are two basic options: 
> 1. Don't use pubnub
> 2. Do your own pubnub port
>
> Currently I would go with #1. When we introduced pubnub we didn't yet have 
> websockets, but with those the need for pubnub isn't as big. I'd like to 
> rewrite my chat tutorial to be simpler and use websockets instead of pubnub 
> similar to what Steve did: 
> https://www.codenameone.com/blog/invite-friends-websockets-windows-phone-more.html
>
> Porting pubnubs latest should be relatively easy, you can either port 
> their Java or JavaScript code to Codename One or just wrap their native 
> libraries both of which should be pretty trivial because the library isn't 
> very complex to begin with. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/802c3559-1169-4e12-a854-9676837a23a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to