Hi Jason Essington You are right that rpc will connect to server from which the host page is generating but in my project approach is little bit different. Let me understand you whole context.
My project was in dojo toolkit some months before. My whole team was working on that in which we have the server side codes and in web content the js files of dojo toolkit. Now my whole team decided to shift to GWT for some incompatability issues in dojo. We are working on the rest architecture to be compatable for other applications who understand the atom. In GWT we tried with json and atom data and began to use the GWT-EXT as our widgets library. We did the whole setup for the gwt client and as the data was coming on the basis of rest architecture we didnt include the server in it. Rather the server was in some workspace and GWT client was in some workspace. We used to test our gwt code using the external server code by just placing the compiled files over there. The host page generating from the same server and the the compiled js files is also on the same server but our client developement workspace is different. Now we need the rpc for some user preference. We need to use the same server code may be with some changes on the servlet for rpc. Still the host page will be generate from the same server side and the compiled js will be placed over there too. The servlet will be in web inf directory. i am confused in the client server directory structure of gwt. May be it is enought to understand my problem. please help me out. Thanks Regards Vaibhav Saxena On Fri, Oct 24, 2008 at 11:54 PM, Jason Essington <[EMAIL PROTECTED] > wrote: > > RPC uses XHR internally and as such is bound by the browsers Same > Origin Policy. Simply ... No, RPC will not connect to a server that is > different than the one the host page was loaded from. > > -jason > > > On Oct 24, 2008, at 3:34 AM, vaibhav saxena wrote: > > > HI groups, > > i am doing the pocs over rpc and succeded to run the rpc. But i want > > more than that. I want to run rpc with my existing servlet that i > > have configured in another servlet container. Is there any way to > > run rpc with another servlet . > > > > regards > > Vaibhav saxena > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
