Re: Best server communication

2014-07-11 Thread Ronan Quillevere
If you want to use REST calls :

In my company, on the backend we use Tomcat + Jersey (JAX-RS 2.0) : 
https://jersey.java.net/
You could also have a look to JBoss + RestEasy:  http://resteasy.jboss.org/

For our GWT client we use RestyGWT to make the REST 
calls. http://resty-gwt.github.io/ , I wrote a tutorial on how to make 
RestyGWT talk to a Tomcat + Jersey, it might help 
http://ronanquillevere.github.io/2014/03/16/gwt-rest-app.html

Of course your can still build your own queries by using RequestBuilder if 
you prefer.

Good luck ;)



On Saturday, June 21, 2014 7:50:19 PM UTC+2, mamadou lakhassane cisse wrote:

 Hi people I'm a newbie in GWT. I've made some apps but still using RPC. I 
 was wondering now if there were a better way than that for server 
 communication. Thanks in advance.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Best server communication

2014-07-11 Thread Henrik


 I've made some apps but still using RPC. I was wondering now if there were 
 a better way than that for server communication. 


RPC is probably the most convenient for beginners, but if you think you may 
need to push messages to the client at some point, I'd just go for a plain 
websocket solution instead and de-/serialize your objects as JSON.  I've 
done that with Jackson on the serverside and GWT-Jackson on the clientside 
together with a few lines of javascript to open the websocket.  Pretty 
simple, but effective and flexible. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Best server communication

2014-07-09 Thread Slava Pankov
Try Errai JAX-RS, it works perfectly for my development.

On Saturday, June 21, 2014 10:50:19 AM UTC-7, mamadou lakhassane cisse 
wrote:

 Hi people I'm a newbie in GWT. I've made some apps but still using RPC. I 
 was wondering now if there were a better way than that for server 
 communication. Thanks in advance.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Best server communication

2014-06-22 Thread mamadou lakhassane cisse
Hi people I'm a newbie in GWT. I've made some apps but still using RPC. I 
was wondering now if there were a better way than that for server 
communication. Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.