Normally, when developing your GWT applications in hosted mode, the internal tomcat server will be used to serve up your application. However, if want to talk to a server-side php script running on your own local web server, you will soon run into issues with the Single Origin Policy, since hosted mode runs on one port and the php script is running on another. In this tutorial, I will show you how I got around by running my GWT application and the php script on the same local web server. To demonstrate this, I will use the GWT FileUpload widget with a php backend.
Tag - hosted
Wednesday 20 February 2008
Using PHP in GWT Hosted mode
By dgirard on Wednesday 20 February 2008, 12:47
Wednesday 28 February 2007
Google Web Toolkit, Apache Derby, and Eclipse, Part 4 : Deployement
By dgirard on Wednesday 28 February 2007, 07:37 - GWT Article
Build an Ajax application using Google Web Toolkit, Apache Derby, and Eclipse, Part 4: DeploymentIn the past three articles in this series, you've built a simple but functional Web application using the Google Web Toolkit (GWT). Until now, you've been editing and debugging the application using GWT's hosted mode, which allows you to simulate a Web server environment within your Java™ development tool. Sadly, it's impractical to have all your users download Eclipse just to run your Web application. So, in this article, the fourth in this series, you'll learn how to deploy your GWT application within a Java Web application server and get tips on using the Apache Derby database to drive the GWT.

