Introduction to GWT™
Private Training Price : $7995 for up to 3 students*
*Additional students subject to a nominal fee
- Introduction to GWT Training Class Summary
-
Google Web Toolkit (GWT) allows Java developers to create Web 2.0-ready Ajax front ends. GWT compiles these Java artifacts into optimized JavaScript for all major browsers. This intensive, hands-on training course provides students a foundation in developing front-end modules with GWT widgets, panels, and events. Students will also learn how to work with images and client bundles as well as how to incorporate history and bookmarks in their Ajax applications. The course continues with a chapter on GWT Utility classes that make it easy to work with cookies, animation, file uploads, and timers. The course ends with coverage of GWT’s remote procedure call mechanism.
Audience: Java developers who wish to quickly get to create Ajax application with the Google Web Toolkit.
Prerequisites: Java programming experience is required. Basic knowledge of HTML, CSS, and JavaScript is recommended. Previous experience doing widget-based Form development using events as well as HTTP exposure is beneficial.
Class Length: 3 days
- Introduction to GWT Training Class Objectives
-
- Describe the challenges of Ajax programming and how GWT addresses them.
- Setup and create projects that use GWT.
- Create and configure basic GWT widgets to design user interfaces.
- Organize GWT widgets into properly laid out user interfaces using panels.
- Write and register event handlers.
- Use images and client bundles in GWT.
- Deploy and run GWT applications in Hosted and Web Modes.
- Incorporate history and bookmarks in your front-ends.
- Use GWT Utility classes to handle animation, cookies, file uploads, and more.
- Distribute your UI logic to the client and the business logic to the server using GWT RPC.
- Introduction to GWT Training Class Detailed Outline
-
- Ajax and GWT
- Ajax Emergence
- Ajax Challenges
- Motivations behind GWT
- What is GWT?
- GWT Design Axioms
- The GWT Roadmap
- Supported Browsers
- Getting Started with GWT
- Getting Started
- Setting up the GWT Environment
- Creating a Project
- A GWT Project Structure
- Execution of a GWT Project
- Using GWT with Legacy Web Apps
- GWT Module Configuration
- GWT Module Entry Point
- Development Mode versus Web Mode
- Class Project: A Film Rental Application
- GWT User Interfaces
- GWT User Interfaces
- Creating and Configuring Widgets
- Laying out your Widgets
- Using the RootPanel
- Basic Styling
- Modifying GWT Code
- Core GWT Widgets
- GWT Widgets
- Static Widgets
- Button Widget
- Text Widgets
- Selection Widgets
- Listing Widgets
- Widget Hierarchy
- Widget Behavior
- Event Handling vs. Event Listening
- Configuring Widgets
- Widget Patterns
- Dual Views of GWT Widgets
- Some More Thoughts
- Organizing User Interfaces in GWT
- Laying out Widgets into Panels
- Various GWT Layouts
- FlowPanel
- HorizontalPanel and VerticalPanel
- The RootPanel
- DockPanel Layout
- Grid
- FlexTable
- ScrollPanel
- PopupPanel and DecoratedPopupPanel
- Dialog Boxes
- The DisclosurePanel
- Event Handling in GWT
- Event Handling in User Interfaces
- The GWT Event Model
- Using Event Handlers
- Keyboard Events
- Mouse and Click Events
- Tab Events
- Table Cell Events
- FormPanel Events
- Images and Resources
- Using Images in GWT
- The GWT Image Widget
- Image Events
- Prefetching Images
- Using ImageBundle and ClientBundle
- Creating a Client Bundle for Images and Text
- Using a Client Bundle
- More on Client Bundles
- Executing Hosted vs. Web Mode in GWT
- The Two GWT Modes
- Files Generated by GWT
- Page Loading Steps in Web Mode
- Obfuscation in GWT Generated Files
- GWT Deployment
- History and Bookmarks in GWT
- History and Bookmarks in GWT
- Using Hyperlink Widgets
- Managing History
- The History Token
- Adding New History Items
- The History Handler
- Handling Bookmarks
- GWT Utility Classes
- GWT and Cookies
- The GWT Random Class
- Animation in GWT
- Uploading Files in GWT
- The GWT Class
- The GWT Window Class
- The Window.Location Class
- The GWT Timer Class
- RPC Protocol in GWT
- Why a New Protocol?
- RPC Protocol in GWT
- GWT RPC Basics
- Steps to RPC: Code Components
- RPC Components
- Setting the Servlet Path in a Module
- Creating an Invocation Target
- RPC Events
- No Synchronous RPC in GWT
- Data Serialization
- Ajax and GWT



