Which Java web platform supports cross-domain Javascripting (http proxy)?

So, just an introduction, I begin to study Vaadin, and it is absolutely perfect. I used to manipulate PHP, Perl, Ruby, and JQuery to develop a rich client web application. This did not work too well, as I burned out trying to fix cross-browser issues (e.g. get-it-to-work-on-IE-damn-it), processing server-side, client-side, and creating a reliable connection between the two levels there was a lot of code not related to the application logic ... by the time I was burned, only a small cue ball of the application logic was implemented.

Vaadin seems to be the answer to my problem as it only requires Java and is built on top of GWT.

However, I am curious how can I enable Cross-Domain Javascripting ? Back in the LAMP environment, I had a CGI script proxy that downloaded an external URL and injected JS into the proxy page. I used the CGI script proxy, as it displayed Javascript of the external URL well. Is there a class or package for Java or a specific Java web structure similar to Vaadin that makes this possible?

Thank.

+3
source share
3 answers

- - , easyXDM. , http://easyxdm.net/current/example/methods.html

RPC-, .
IE6/7, .
, ( ), - , postMessage !

+4

. - javascript . , ajax, .

+1

ExtJS has what they call " ScriptTagProxy ", which may or may not be useful to you ...

Here are some more links about this:

0
source

Source: https://habr.com/ru/post/1746622/


All Articles