Leverage RestyGWT for websocket use

71 views
Skip to first unread message

Kay Pac

unread,
Jul 23, 2016, 5:45:10 PM7/23/16
to RestyGWT
I am trying to use WebSockets for my API, and I would like something like RestyGWT to use. Is it possible to do this? In this instance I am mostly considering the aspect of client -> server communication - this may be more or (less) obvious. Server Side is somewhat easier to think about because there are more options there and less complications. For the client side, I looked at GWT docs and saw JSNI and my eyes started to glaze over, especially because it seems my type must inherit from JavaScriptObject, which is not what I Want! I want the same object on server and client. Sooo ..... I don't know if this is possible or desirable!

Kay Pac

unread,
Jul 23, 2016, 5:48:26 PM7/23/16
to RestyGWT
Also, I am not sure how to navigate the source - I looked at POM and it specifies gwt version as 2.4.0 - is that the minimum supported SDK version? Can I build with -Dgwt-version=2.8.0-SNAPSHOT (or 2.8.0-mybuild)?

Kay

Kay Pac

unread,
Aug 8, 2016, 3:35:50 PM8/8/16
to RestyGWT
I got what I needed - I stumbled upon gwt-jackson and it's really what I needed, in order to the JSON transformations.

Lucas Machado

unread,
Aug 8, 2016, 4:36:36 PM8/8/16
to rest...@googlegroups.com
RestyGwt can use gwt-jackson as serialization/deserialization engine.

Maybe you can use the best of both

--
You received this message because you are subscribed to the Google Groups "RestyGWT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to restygwt+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Lucas Machado
Reply all
Reply to author
Forward
0 new messages