Hi, I have a problem trying to figure out what is the best way of connecting the services provided by a server different than the one serving my gwt client. Here's the scenario:
I have a tomcat server (Spring+Hibernate). I have a GWT client, talks to the tomcat server with no problems. Now I have to provide the same functionality, but from another (proprietary web) server. I need to use the services provided in my tomcat server from that (proprietary)server. Since the URL providing the client code is in a different server than the service (tomcat) server, It won't allow me to create the call (Same origin policy). I think a reverse proxy solution like Apache's mod_proxy would help me, but at the same time it increases latency and requires me to maintain an Apache Server and make the testing/security process grow and I do not think it is feasible. What I have in mind is creating a GWT client on the server (proprietary) that makes the service call on the server side to the Tomcat Server. I do not know if this is possible at all. I tried using the GWT client code in the server side, but it points me to an (you are using client code in the server side error). What do you think would be a good solution? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
