Running the GWT project

In this section, we will run the GWT web project. Run the GWT HTML hosted page CatalgForm.html in a browser with the URL http://localhost:8080/gwt-jboss-ajax/CatalogForm.html. The GWT widget-generated input form gets displayed, as shown in the following screenshot:

Running the GWT project

Start to specify a Catalog ID value. As the TextBox widget supports Ajax, a validation message gets displayed as shown in the following screenshot to indicate whether the Catalog ID value is valid according to the logic that the value is not an empty string and is not already in HashMap for the catalog.

An Ajax request is sent with each key-up event as the Catalog ...

Get Advanced Java® EE Development with WildFly® now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.