Removing from a Swing application to a GWT server

Simply put, I wrote a JSE Swing application that needs to talk to the GWT server that I wrote earlier. I really like how GWT makes remote interaction between javascript sites and the server, and I would like to use this mechanism. Has anyone been able to use the GWT-RPC in this way? Should I just run Restlet?

+6
java swing remoting gwt restlet
source share
1 answer

If you use Java-Java communication, RMI will be easier and more appropriate. Serializing data to / from some XML format or URL does not add much value.

With EJB3, it's dead easy to deploy remote objects and call them. You can then turn these EJBs into web services if you need to later, but for Java-to-Java I can't think of why not use some kind of RMI-based connection.

+2
source share

All Articles