Google Web Toolkit (Beta)
Search this site:

# GWT Compiler

The heart of GWT is a compiler that converts Java source into JavaScript, transforming your working Java application into an equivalent JavaScript application. Generally speaking,

1. If your GWT application compiles and runs in hosted mode as you expect
2. And GWT compiles your application into JavaScript output without complaint,
3. Then your application will work the same way in a web browser as it did in hosted mode.

The GWT compiler supports the vast majority of the Java language itself. The GWT runtime library emulates a relevant subset of the Java runtime library.

## Specifics