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 GWT training course provides a foundation in developing front-end modules with GWT widgets, panels, events and other mechanisms.
Class goals :
Understand the challenges of Ajax programming and how GWT addresses them.
Learn about GWT infrastructure, projects and code artifacts.
Learn to use GWT widgets, panels, images, events, listeners to build Ajax forms.
Learn to use GWT Utility and framework classes.
Learn to incorporate history and bookmarks in your front-ends.
Learn about GWT’s RPC protocol and how to use it.
Content of Training Google Web Toolkit / Introduction
Class Outline
The GWT Concept
Dynamic HTML
The GWT Solution
So What is GWT?
The GWT Compiler
GWT Design Axioms
Getting Started with GWT
Creating a GWT Project
A GWT Project Structure
Executing a GWT Project
Using GWT with Legacy Web Apps
GWT Module Configuration
GWT Module Entry Point
Development Mode versus Web Mode
Our Class Project: A Film Rental Application
GWT User Interfaces
GWT User Interfaces
Creating and Configuring Widgets
Widget Hierarchy
Widget Behavior
Using the RootPanel
Basic Styling
Some Basic Widgets
Organizing User Interfaces in GWT
Laying Out Widgets into Panels
Various GWT Layouts
FlowPanel
HorizontalPanel and Vertical Panel
The RootPanel
DockPanel, DockLayoutPanel, SplitLayoutPanel, and LayoutPanel
Using Grid
Using FlexTable
Using ScrollPanel
Using PopupPanel and DecoratedPopupPanel
Dialog Boxes
The DisclosurePanel
Event Handling in GWT
Event Handling in User Interfaces
The GWT Event Model
Using Event Handlers
Types of Events
FormPanel Events
Images and Resources
Using Images in GWT
The GWT Image Widget
Prefetching Images
Using ImageBundle and ClientBundle
Creating a Client Bundle for Images and Text
Using a Client Bundle
More on Client Bundles
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
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
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
Training Google Web Toolkit / Introduction
Onze voordelen :
Type of training: Inter-company, intra-company and individual
100% flexible & personalised training : You choose the place, the dates and the training program
Offer request : Response within 24 hours
50% discount for SME’s from Brussels-Capital Region
Free parking, lunch & drinks
Free use of our Digital Competence Centre: Manuals, courses, exercises, …
In this GWT training class, students learn develop their GWT skills by learning to use advanced widgets and panels, to work with client-server communication, to build JavaScript bridges and much more.
Class goals :
Learn to create and use modules in GWT, own or external.
Learn to use advanced panels, more widgets, trees in GWT.
Learn to use RichTextArea for styled editing in GWT.
Learn to use CSS styling of GWT Widgets.
Learn to develop own composite widgets.
Learn to develop and execute tests and benchmarks in GWT.
Discover the GWT’s Java Emulator, its capabilities and limitations.
Learn to use GWT’s DOM management.
Learn to use JSON within GWT.
Learn to retrieve and show external URLs in GWT forms.
Learn the mechanics of integrating Javascript with Java.
Learn advanced connectivity mechanisms, polling and related concepts.
Learn some best practices on performance and avoiding pit falls.
Content of Training Google Web Toolkit / Advanced
Class Outline
Using Modules in GWT
GWT Modules
Using External Modules
Modularizing An Application
Deferred Binding
Multiple-Module Applications
Code Splitting
More on GWT User Interfaces
Using ToggleButton and PushButton
Using DecoratorPanel
Using AbsolutePanel
Using HTMLPanel
Using FocusPanel
Using HorizontalSplitPanel and VerticalSplitPanel
Using StackPanel
Using TabPanel
The DeckPanel
Using TabPanel
Using Menus via a MenuBar
Using a Tree Widget
Using SuggestBox
GWT RichTextArea Editing
FormPanel
Using DeferredCommand
GWT UiBinder and SafeHtml
What is UiBinder?
UiBinder Benefits
UiBinder Templates
Creating a UiBinder in Eclipse
What Is SafeHtml?
Styling with CSS in GWT
Syling with CSS in GWT
GWT Visual Themes
Styling Widgets in GWT
Associating CSS Files with a Module
Dependent Style in Widgets
More ClientBundle Elements: CSS Resources, Data Resources, and External Resources
Creating Composite GWT Widgets
Custom GWT Widgets
Composite GWT Widgets
Developing Composite Widgets
Using Composite Widgets
Testing and Debugging GWT Modules in GWT
Testing and Debugging GWT Modules
Unit Testing Concepts
The JUnit Test Framework
Writing a JUnit Test Case
GWT Unit Testing with GWTTestCase
Running junitCreator
Testing Asynchronous Code
GWT System Testing
GWT User Interface Testing
More Server Integration Options in GWT
More Server Integration Options in GWT
Using HTTP Requests
Manipulating an XML DOM
Integrating Using JSON
GWT JavaScript Native Interface
GWT JavaScript Native Interface
Defining JSNI Methods
Sharing Data between JavaScript and Java
Talking to the Browser via JSNI
Using External JavaScript
Using a JavaScriptObject in GWT
Java Callbacks from External JavaScript
Using External Libraries
Advanced GWT Connectivity
Stateful and Stateless Servers
Using Stateful Servers
Handling Exceptions
Client-Side RPC Architecture in GWT
Client-Side RPC Architecture
Client-Side Pull versus Push
Polling Protocols
GWT Best Practices
Security Issues
Performance Concerns
Internationalization in GWT
GWT Pitfalls and Issues
Testing Practices for GWT
Bandwidth-Sensitive Applications
Training Google Web Toolkit / Advanced
Onze voordelen :
Type of training: Inter-company, intra-company and individual
100% flexible & personalised training : You choose the place, the dates and the training program
Offer request : Response within 24 hours
50% discount for SME’s from Brussels-Capital Region
Free parking, lunch & drinks
Free use of our Digital Competence Centre: Manuals, courses, exercises, …