I guess you should ditch zoneedit and go for a more professional service ?
On Fri, Aug 28, 2009 at 8:10 AM, Ganesh<ganesh.ban...@gmail.com> wrote: > > Hi All > > I am facing performance issues in my GWT application. My scenario is > as explained below: > > My GWT application is deployed on a JBoss server which is running on a > machine with static IP say 56.56.56.56 with port 8080. Now when I > access my application using this IP & port, speed of my application is > very good and all is running very well. Now I want to setup a named > proxy server say http://myserver.com for accessing my application. For > this, I made an account on zoneedit.com and created a mapping of my > named server to my static IP with port 80. On port 80 on my static > server, I setup an Apache server. In Apache server's config file, I > forward my all requests to JBoss server running on same machine. Now > using this setup, I am able to access my application using link > http://myserver.com. > > But now the performance issues started. Request which is sent to > server from my application, starts taking too much time. A blank (no > data is being sent b/w server & client and no processing is being done > on server) request which takes 450 ms if access application through > static IP, takes 1400 ms when application is accessed using > http://myserver.com. > > Below is the code which I use to send request to my server: > > _MyServiceAsync myServiceAsync = (_MyServiceAsync) GWT.create > (_MyService.class); > ServiceDefTarget endpoint = (ServiceDefTarget) myServiceAsync; > String moduleRelativeURL = GWT.getModuleBaseURL() + "MyService"; > endpoint.setServiceEntryPoint(moduleRelativeURL); > myServiceAsync.callMethod(); > > The problem which seems to be is because all my requests are going to > zoneedit.com and than to my server and that's why they are taking a > lot of time. A solution which I thought was replacing > GWT.getModuleBaseURL() with my static IP in moduleRelativeURL for > sending direct request, but that didn't work because of cross domain > AJAX call restriction. > > I request if someone can help me how can I achieve performance without > telling exact IP (it is also difficult to remember an IP) to my > clients on which my application is running. Any suggestion/help will > be highly appreciated. > > Thanks in advance > > Ganesh Bansal > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---