Re: How to use multiple servers in a single client

2009-09-02 Thread Sumit Chandel
Hi Ganesh, You can also consider using the JSONP technique, which allows you to mash up services from various origins in a single application. Dan Morrill wrote an excellent article treating this subject on the GWT Articles page. I recommend checking it out if JSONP sounds like a viable solution

Re: How to use multiple servers in a single client

2009-08-31 Thread Nathan Wells
Actually, it can. The ability to do this, however, relies on making the request in an iframe or (in GWT widget parlance) a Frame object. There are complications associated with this methodology, and using the server to proxy requests is probably a lot easier, but may not always be possible for

Re: How to use multiple servers in a single client

2009-08-30 Thread Sri
Simply put, it can't be done. Cross Domain restrictions require that javascript code only communicate with the server from which it originated. So, all RPC requests that you make must go to the same server. However, you can have a simple facade on your server. You can let your webserver simply

How to use multiple servers in a single client

2009-08-28 Thread Ganesh
Hi I am working on a GWT application. In this, what my client needs is I send calls to different servers on basis of request types. Suppose there are 4 request types SELECT/INSERT/UPDATE/DELETE on basis of operation to be performed on server. If request type is SELECT, we need to send request