loading...empty;done;/google-web-toolkit/:-uriGoogle Web Toolkit Deployment | iNET.elastic Dev Docs

How to Deploy Google Web Toolkit Applications

Google Web Toolkit (GWT) is an open-source set of tools for building and optimizing complex Java applications. GWT is used by many Google products. It’s completely free and used by thousands of developers around the world.

Let’s deploy the GWT application to the platform and you’ll see how easy it is.

Create an Environment

1. Log into the platform dashboard.

2. Click the Create environment button at the top left.

create environment

3. Select your application server (for example, Tomcat) and specify your environment name, for example, gwttest.

environment wizard

In a minute your environment will be created.

environment for Google Web Toolkit created

Application Deployment

1. Create your GWT application as you usually do.

2. Create a WAR file in any way you like. To any application, the output of the GWT Compiler is purely static content.

We use simple GWT hello application as an example. If you want to deploy this application too, just download The Google Web Toolkit SDK, unzip this package and create a WAR file from the WAR folder contents (e.g. gwt-2.4.0/samples/Hello/war).

3. Upload your Java package to the deployment manager.

upload Google Web Toolkit

4. Once the package is in the platform, deploy it to the environment you created earlier.

deploy Google Web Toolkit

Open your application in a web browser and enjoy!

Google Web Toolkit

What’s next?