Thursday, June 4, 2015

Re: using client GWT and server java RMI, is that possible?

If you use GWT-RPC then you must use the GWT-RPC servlet on the server side. 

On the server side in your GWT-RPC method implementation you can of course use RMI to call other methods if you like. You could even create a Java Proxy that implements your GWT-RPC service interface and automatically calls the corresponding method via RMI. Then provide that proxy to the GWT-RPC servlet as delegate by sub classing RemoteServiceServlet and call the appropriate super constructor. 

-- J.

--
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+unsubscribe@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.

No comments:

Post a Comment