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,
- If your GWT application compiles and runs in
hosted mode as you expect
- And GWT compiles your application into JavaScript output without
complaint,
- 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
-
GWT supports most core Java 1.4 language semantics, but there
are a few differences you'll want to be aware of.
-
GWT emulates a basic set of the standard Java library
classes.