0

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?

2
  • possible duplicate of Cross Domain Get Request in JS/JQuery Commented Feb 22, 2014 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. Commented Feb 22, 2014 at 21:41

1 Answer 1

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)

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.