Chapter 1. Introducing GWT
Listing 1.1. Calculator.gwt.xml module definition
Listing 1.2. The calculator HTML host page
Listing 1.3. The entry point for the Calculator class
Listing 1.4. StringBuffer in obfuscated compilation
Listing 1.5. StringBuffer in pretty compilation
Listing 1.6. StringBuffer in detailed compilation
Listing 1.7. The GWT UserAgent definition
Listing 1.8. Changing the DOM implementation by UserAgent
Listing 1.9. Defining French and Italian using extend-property
Listing 1.10. The i18n module’s locale property declarations
Listing 1.11. A simple JSNI method
Chapter 2. A New Kind of Client
Listing 2.1. ApplicationCreator output, showing the default GWT project structure
Listing 2.2. CalculatorWidget.java, part one
Listing 2.3. CalculatorWidget.java, part two
Listing 2.4. CalculatorWidget.java, part three
Listing 2.5. CalculatorChangeListener.java
Listing 2.6. CalculatorChangeNotifier.java
Listing 2.7. CalculatorData.java: the data portion of the model layer
Listing 2.8. ButtonDigit.java
Listing 2.9. ButtonOperator.java
Listing 2.10. AbstractOperator.java
Listing 2.11. OperatorAdd
Listing 2.12. CalculatorController.java
Listing 2.13. com.manning.gwtip.calculator.style.css
Chapter 3. Communicating with the Server
Listing 3.1. The Person data object class
Listing 3.2. HelloService.java
Listing 3.3. HelloServiceAsync.java
Listing 3.4. HelloServiceImpl.java
Listing 3.5. HelloServlet.java
Listing 3.6. HelloServer.java