It is very simple if you know what GWT is. According to Wikipedia:
GWT applications can be launched in two modes:
- Development Mode (formerly Hosted mode):. The application runs as Java bytecode in the Java Virtual Machine (JVM). This mode is commonly used for development, supporting hot-swapping code and debugging.
- Production mode (formerly web mode):. The application runs as pure JavaScript and HTML compiled from a Java source. This mode is commonly used for deployment.
I think you understand why you see Java bytecode (.class) files in your project. To verify it: run your project and open the web page that gwt generates, remove the .class files from the client package, and this will not work. But in production mode, it works correctly, since it does not depend on some .class files. For example, classes that are responsible for building the user interface.
Õzbek source share