Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 981 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 981 Bytes

jsinterop-simple-example

Simple Example using GWT JsInterop

This example uses GWT Boot as Starter Parent: https://github.com/gwtboot/gwt-boot-samples

Take a look at this article to see the whole story: http://bit.ly/WebJavaStory

Build Status

To build the example:

mvn clean package

To run the example:

  1. First: run the GWT Dev Mode:
mvn gwt:generate-module gwt:devmode
  1. Second: open your browser and go to following address:
http://127.0.0.1:8888/calculator/
  1. GWT Dev Mode supports automatic transpiling. You just need to update your Java code in your IDE and reload your web browser. Your Java code will be automatically transpiled and your webapp stays uptodate without restarting the web server. If you change the index.html you need to push the restart button on the Swing GUI.