Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

Google Web Toolkit (GWT)

( Duration: 5 Days )

Google says that its Web Toolkit (GWT) enables developers to write, test and debug their web applications using their own preferred Java tools and integrated development environments (IDEs). The GWT compiler converts the Java classes to reusable Javascript and HTML, which will generally work similarly on different browsers, particularly if you stick to the built-in widgets.

This Google Web Toolkit (GWT) training course explores GWT capabilities enabling developers to create sophisticated interactive applications.

The Google Web Toolkit (GWT) workshop will provide detailed guidance to building Web 2.0 applications. On completion, you will learn to:

  • Work with Ajax
  • Understand basics of GWT framework
  • Organize GWT Projects
  • Use the GWT API
  • Use client side widgets
  • Communicate with the server
  • Deploy GWT code on the server
  • Debug and Test GWT applications
  • Work with Internationalization and Accessibility

  • Proficient in Java and HTML
  • Exposure to JavaScript is recommended

COURSE AGENDA

1

Overview and getting started

  • What GWT is all about
  • Installing GWT
    • Core GWT
    • Eclipse plugin
  • Making a project
    • Using Eclipse plugin
2

GWT Programming Basics

  • Making a project
  • Deleting extraneous files
  • Editing auto – generated HTML file
  • Editing auto – generated Java class
3

GWT Widget Event Handling

  • Main approaches to event handling
  • Basic widgets and their associated events
    • Pushbuttons and related widgets
    • Checkboxes and related widgets
    • Listboxes and related widgets
    • Textfields and related widgets
4

Laying out Windows with panels – Simple Panels

  • Strategy behind Panel usage
  • Basic Panel types
    • HorizontalPanel
    • VerticalPanel
    • FlowPanel
    • FlowPanel as vertical panel
    • FlowPanel as horizontal panel
    • Grid
    • FlexTable
5

Laying out Windows with panels – Composite Panels

  • Strategy behind Panel usage
  • div-based layout vs. table-based layout
  • Composite Panel types in standards mode
    • TabLayoutPanel
    • StackLayoutPanel
    • SplitLayoutPanel
    • DockLayoutPanel
    • DeckLayoutPanel
  • Advanced issues
    • Firebug
    • CSS background colors
    • History handling
6

Extended GUI Widgets

  • Popup messages
    • Dialog Box
    • PopupPanel
    • Native dialog boxes
  • Fancy text boxes
    • Date input boxes
    • Suggest (autocompleter) text boxes
    • Menus
    • Third – party widget libraries
7

Using RPC to Access Server – Side Data

  • Idea of RPC
  • Development process
    • Defining main data service interface
    • Defining callback version of data service interface
    • Making a data service servlet
    • Creating a service proxy
    • Defining client – side callback objects
  • Handling asynchronous methods
    • Performing server – dependent ops only in callback methods
8

Handling History and Bookmarks

  • Panel design
  • HTML setup
  • Setting History tokens
  • Responding to History tokens
  • Advanced issues
9

Creating Custom Widgets

  • Three ways of building custom widgets
  • Basic steps
  • Controlling layout of internal widgets
  • Creating and using separate GWT modules
10

Declarative Layout with UiBinder – Basics

  • Problems with only having Java-based layout
  • Main idea behind UiBinder approach
  • Advantages of UiBinder
  • Disadvantages of UiBinder
  • Steps for HTML-based UiBinder GUIs
  • Steps for Widget-based UiBinder GUIs
  • Simplified UI Event Handling with UiBinder
11

Declarative Layout with UiBinder – Advanced topics

  • Quick review of UiBinder steps (HTML-based and Widget-based)
  • Using widget attributes in UiBinder XML
  • Three ways to deal with lack of widget zero-arg constructor in UiBinder XML
    • Using @UiConstructor
    • Using @UiFactory
    • Using @UiField(provided=true)
  • Layout panels with special UiBinder XML syntax
  • Working with CSS in UiBinder
  • Working with images in UiBinder
12

Introduction to Cell Widgets

  • Idea: Flyweight Design Pattern
  • Other available Cell widgets and Cell types
13

The JavaScript Native Interface

  • Calling JavaScript from Java
    • Format of methods
    • The $wnd and $doc variables
    • Argument types
  • Defining JavaScript Overlay Types
    • Native methods for direct properties
    • Pure – Java derived properties
  • JsArray
  • Calling Java from JavaScript
    • Format of method types
    • Designating overloaded methods
    • Argument types
14

Introduction to the Model-View-Presenter (MVP) Architecture

  • Main components of MVP (MVPA)
    • Model
    • View
    • Presenter
    • AppController
  • Need for EventBus
  • Testing in MVP
15

Advanced MVP

  • Advantages/Disadvantages
  • Main components of MVP framework
    • Model
    • View
    • ClientFactory
    • Activity
    • Place
    • PlaceHistoryMapper
    • ActivityMapper
16

Open Source GWT – Tools RPC Service

  • Quick GWT RPC review
  • Motivation
  • Advantages / Disadvantages

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X