I have 2 different gwt applications, both on different machines, but they need to communicate. Is their a simple way, using the gwt mechanisem to do it and access an existing servlet on another gwt application, or do i need to open another http connection between them some other way?
Asked
Active
Viewed 45 times
0
-
possible duplicate of [Cross Domain Get Request in JS/JQuery](http://stackoverflow.com/questions/3199640/cross-domain-get-request-in-js-jquery) – Andrei Volgin Feb 22 '14 at 21:40
-
The easiest solution is to have your servers talk to each other. Making clients communicate across domains is more complex, but the question I linked to provides some options. – Andrei Volgin Feb 22 '14 at 21:41
1 Answers
0
The most standardized way to do that is to use JMX: it is future prone and a lot of work was already done for you.
http://en.wikipedia.org/wiki/Java_Management_Extensions
Your issue cannot be considered as a GWT problem since GWT is limited to java script, and you need real java methods to communicate together, doing it through GWT is at best unperformant and at worse the source of many problems (since you are not inside a browser, and using a "virtual browser" to execute your javascript might lead to subtile very hard to understand differences)

Zied Hamdi
- 2,400
- 1
- 25
- 40