My Account Log in

1 option

Essential GWT : building for the web with Google Web toolkit 2

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Kereki, Federico, Author.
Contributor:
Google (Firm)
Series:
Developer's Library
Developer's library Essential GWT
Language:
English
Subjects (All):
Google Web toolkit.
Ajax (Web site development technology)--Development.
Ajax (Web site development technology).
Java (Computer program language).
Application software.
Physical Description:
1 online resource : ill.
Edition:
1st edition
Place of Publication:
[Place of publication not identified] Addison Wesley 2011
Language Note:
English
System Details:
text file
Summary:
With Google Web Toolkit, Java developers can build sophisticated Rich Internet Applications (RIAs) and complete Web sites using the powerful IDEs and tools they already use. Now, with GWT 2, Google Web Toolkit has become even more useful. Essential GWT shows how to use this latest version of GWT to create production solutions that combine superior style, performance, and interactivity with exceptional quality and maintainability. Federico Kereki quickly reviews the basics and then introduces intermediate and advanced GWT skills, covering issues ranging from organizing projects to compiling and deploying final code. Throughout, he focuses on best-practice methodologies and design patterns. For example, you’ll learn how to use the MVP (model-view-presenter) pattern to improve application design and support automated testing for agile development. Kereki illuminates each concept with realistic code examples that help developers jump-start their projects and get great results more quickly. Working with the latest versions of open source tools such as Eclipse, Subversion, Apache, Tomcat, and MySQL, he demonstrates exactly how GWT fits into real Web development environments. Coverage includes Using the Google Plugin for Eclipse and the GWT Shell Script Detecting and working with browsers—and solving the problems they cause Building better user interfaces with the MVP pattern Using APIs for visualization, mapping, weather data, and more Internationalizing and localizing GWT code Securing GWT applications with cryptography, hashing, and encryption Testing with JUnit, Emma, GWTTestCase, Selenium, and Mock Objects Deploying client-only and client-plus-server GWT applications
Contents:
Cover
Contents
Preface
Acknowledgments
About the Author
1 Developing Your Application
Rich Internet Applications
Web 2.0
Cloud Computing
The "Death of the Desktop
Advantages of GWT
HTML Ubiquity and Browser Differences
JavaScript Deficiencies
Software Methodologies to Apply
Classic Development Problems
Agile Methodologies
Forever Beta?
Summary
2 Getting Started with GWT 2
Why Use GWT?
Why Java?
Some Actual Disadvantages
The GWT Components
Compiler
JRE Emulation Library
UI Library
Setting Up GWT
Writing Code
Version Control Management
Testing
Running and Deploying
3 Understanding Projects and Development
Creating a Project
Using the Google Plugin for Eclipse
Using the GWT Shell Script
Project Structure
Running Your Application: Development Mode
4 Working with Browsers
The Back Button Problem
Setting Up Your HTML Page
The History Class
Starting Your Application
Showing Forms in Pop-Ups
Passing Parameters
Creating a Menu
Detecting the User's Browser
The Classic Way
The Deferred Binding Way
Recognizing Older Explorers
No JavaScript?
5 Programming the User Interface
Thinking About UI Patterns
MVC: A Classic Pattern
MVP: A More Suitable Pattern
Implementing MVP
Callbacks Galore
Implementation Details
Some Extensions
Declarative UI
A Basic UiBinder Example
More Complex Examples
6 Communicating with Your Server
Introduction to RPC
Implementation
Serialization
Direct Evaluation RPC
RPC Patterns of Usage
The World Cities Service
Code Sharing
Coding the Server Side Services
Database-Related Widgets and MVP
A Look at MVP
A Country/State Cities Browser
Live Suggestions
Data Prevalidation.
Enterprise Java Beans
7 Communicating with Other Servers
The Same Origin Policy (SOP) Restriction
Our City Update Application
Receiving and Processing XML
Using Ajax Directly
Going Through a Proxy
Producing and Sending XML
Creating XML with Strings
Creating XML Through the DOM
Sending the XML Data
Sending XML Through Ajax
Sending XML Through a Proxy
8 Mixing in JavaScript
JSNI
Basic JSNI Usage
Hashing with JavaScript
Animations Beyond GWT
A Steampunk Display Widget
JSON
JSONP
9 Adding APIs
A Weather Vane
Getting Weather Data
Getting the Feed
Getting Everything Together
Getting at the Feed Data with an Overlay
Getting the Feed with JSNI
Dashboard Visualizations
Using the Google Visualization API
Handling Events
Working with Maps
Interactive Maps
Fixed Maps
10 Working with Servers
The Challenges to Meet
Before Going Any Further
Security
Ajax Problems
Cryptography
Hashing
Encrypting
Stateless Versus Stateful Servers
Common Operations
Logging In
Changing Your Password
11 Moving Around Files
Uploading Files
An Upload Form
A File Processing Servlet
Providing Feedback to the User
Downloading Files
A File Download Form
A Sample File Producing Servlet
12 Internationalization and Localization
Internationalization (i18n)
Resource Bundles
Using Constants
Messages
UiBinder Internationalization
Localization (l10n)
13 Testing Your GWT Application
Why Testing?
Advantages of Automatically Tested Code
And if a Bug Appears?
Unit Testing with JUnit
A Basic JUnit Example
Test Coverage with Emma
Testing MVP Code
Testing with Mock Objects
EasyMock
Integration Testing with GWTTestCase.
Testing a View
Testing a Servlet
Acceptance Testing with Selenium
A Very Simple Example
What Can Go Wrong?
14 Optimizing for Application Speed
Design Patterns for Speed
Caching
Prefetching
Thread Simulation
Bundling Data
Speed Measurement Tools
Speed Tracer
YSlow
Page Speed
JavaScript Debuggers
15 Deploying Your Application
Compilation
Modules
Code Splitting
Deployment
Working with Client-Only GWT
Working with Client-Plus-Server GWT
Index.
Notes:
Bibliographic Level Mode of Issuance: Monograph
Description based on publisher supplied metadata and other sources.
ISBN:
9786612691959
9780321705594
0321705599
9781282691957
1282691953
9780321705570
0321705572
OCLC:
1027142386

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account