Advanced GWT

Course:  GWTA
Duration:  3 Days
Level:  II
Course Summary

This course will teach students the advanced aspects of GWT as a framework, including unit testing, the Model-View-Presenter architecture, dependency injection, resource bundles, managing events, and creating UI components.

« Hide The Details
Topics Covered In This Course

GWT Review

  • Unplanned consequences
  • Exploring the toolkit
  • Setting up the development environment

Enhancing a GWT Application

  • Updating the HTML
  • Enhancing the code
  • Creating the user interface
  • Manipulating the page
  • Handling events
  • Managing history
  • Styling components
  • Securing the application

Creating Widgets

  • What is a widget?
  • Creating a new widget from the DOM
  • Extending an existing widget
  • Extending a panel
  • Creating a composite
  • Using layout panels
  • Applying animation to widgets
  • Exploring the lifecycle of a widget

Using Client Bundles

  • Client bundle basics using DataResources
  • Text resource types
  • ImageResource
  • CssResource

Interface Design with UiBinder

  • Binding the designer?s HTML to Java code
  • Handling events with UiBinder
  • Introducing the UiBinder expression language
  • Applying style with UiBinder
  • Using the Eclipse plug-in with UiBinder

Communicating with GWT-RPC

  • Surveying GWT-RPC
  • Learning GWT-RPC with Twitter
  • Fetching data from Twitter the non-GWT way
  • Defining a GWT-RPC-compatible model
  • Building and deploying the server side
  • Writing the client
  • Debugging GWT-RPC
  • Securing GWT-RPC against XSRF attacks

Using RequestFactory

  • Enabling annotation processing
  • Understanding RequestFactory architecture
  • Making calls to the server
  • Using custom Locators and ServiceLocators

The Editor Framework

  • Framework and editor overview
  • Editor types
  • Constructing an editor
  • Binding an editor with drivers
  • Editor subinterfaces
  • Accessing the RequestContext
  • Alternate way to construct an editor
  • Adapters

Data-presentation (cell) Widgets

  • Understanding cells
  • Creating custom cells
  • Reviewing GWT?s cell widgets
  • Looking at a CellList
  • Walking through a CellTree
  • Browsing a CellBrowser
  • Constructing a CellTable
  • Building a DataGrid

Using JSNI-JavaScript Native Interface

  • What is JSNI?
  • When to use JavaScript Native Interface
  • Benefiting from the Google Plugin for Eclipse
  • Interacting with the browser
  • Handling objects from JavaScript
  • Wrapping a third-party library
  • Exposing an API to JavaScript

Classic Ajax and HTML Forms

  • Understanding the underlying technology
  • Using RequestBuilder
  • Posting data with RequestBuilder
  • Using the JSON API and JsonpRequestBuilder
  • Using JSON with JS overlay
  • Using the XML API and RequestBuilder
  • Using FormPanel

Advanced Event Handling and Event Busses

  • Understanding events
  • How GWT manages events
  • Previewing and canceling events
  • Preventing default actions
  • Programmatically firing events
  • Creating events
  • Event busses

Building MVP-based Applications

  • What is MVP?
  • Looking at the PhotoApp?s MVP foundations
  • Building MVP
  • Altering an MVP application
  • Activity and Place (GWT?s reference MVP approach)
  • Fitting editors/data-presentation widgets into MVP
What You Can Expect

At the end of the course, students will be able to:

  • Create and use modules in GWT.
  • Understand advanced aspects of CSS styling within GWT.
  • Develop their own composite widgets.
  • Develop and run jUnit tests in GWT.
  • Understand the Model-View-Presenter architecture and how to use it.
  • Use GWT's Dependency Injection facilities.
  • Use native JavaScript and JSON within GWT.
  • Understand GWT's cell widgets.
  • Understand some best practices for GWT.
  • Use Generators.
  • Build interfaces using UIBuilder.
Who Should Take This Course

This course is designed for Application programmers.

Recommended Prerequisites

Experience in Java, HTML, CSS, JavaScript, and basic GWT development is highly recommended.

Training Style

Lecture (50%) / Workshop (50%)

« Hide The Details
Related Courses
Code Course Title Duration Level
Google Web Toolkit (GWT)
2 Days
Ext GWT Design and Development
2 Days

Every student attending a Verhoef Training class will receive a certificate good for $100 toward their next public class taken within a year.

You can also buy "Verhoef Vouchers" to get a discounted rate for a single student in any of our public or web-based classes. Contact your account manager or our sales office for details.

Schedule For This Course
There are currently no public sessions scheduled for this course. We can schedule a private class for your organization just a couple of weeks from now. Or we can let you know the next time we do schedule a public session.
Notify me the next time this course is confirmed!
Can't find the course you want?
Call us at 800.533.3893, or
email us at [email protected]