📚 Heute ist Welttag des Buches! Zur Feier gibt's zahlreiche Lesepakete zu gewinnen 📚 Auf zur Verlosung 📚
Willkommen, schön sind Sie da!
Logo Ex Libris

Essential GWT

  • E-Book (epub)
(0) Erste Bewertung abgeben
Alle Bewertungen ansehen
With Google Web Toolkit, Java developers can build sophisticated Rich Internet Applications (RIAs) and complete Web sites using t... Weiterlesen
E-Books ganz einfach mit der kostenlosen Ex Libris-Reader-App lesen. Hier erhalten Sie Ihren Download-Link.
CHF 25.90
Download steht sofort bereit
Informationen zu E-Books
E-Books eignen sich auch für mobile Geräte (sehen Sie dazu die Anleitungen).
E-Books von Ex Libris sind mit Adobe DRM kopiergeschützt: Erfahren Sie mehr.
Weitere Informationen finden Sie hier.
Bestellung & Lieferung in eine Filiale möglich


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


Federico Kereki is a systems engineer with more than twenty years of experience as a consultant, system developer, writer, and university professor. He has given talks on GWT at public conferences organized by Microsoft and TCS, and he used GWT to develop several company-wide Internet business systems. Kereki has taught and written texts for computer science courses at the Universidad de la República, Universidad ORT Uruguay, and the Instituto Universitario Autónomo del Sur. His current research interests include software quality, software engineering, and agile methodologies. He works extensively with both Linux and Windows and has been involved with open source for more than a decade. He currently resides, works, and teaches in Uruguay.


Preface xv

Acknowledgments xix

About the Author xxi

Chapter 1: Developing Your Application 1

Rich Internet Applications 1

Advantages of GWT 4

Software Methodologies to Apply 5

Summary 8

Chapter 2: Getting Started with GWT 2 9

Why Use GWT? 9

The GWT Components 12

Setting Up GWT 17

Summary 20

Chapter 3: Understanding Projects and Development 21

Creating a Project 21

Project Structure 23

Running Your Application: Development Mode 27

Summary 30

Chapter 4: Working with Browsers 31

The Back Button Problem 31

Detecting the User's Browser 43

Summary 53

Chapter 5: Programming the User Interface 55

Thinking About UI Patterns 55

Implementing MVP 59

Some Extensions 67

Declarative UI 69

Summary 76

Chapter 6: Communicating with Your Server 77

Introduction to RPC 77

RPC Patterns of Usage 84

Summary 118

Chapter 7: Communicating with Other Servers 119

The Same Origin Policy (SOP) Restriction 119

Our City Update Application 121

Receiving and Processing XML 125

Producing and Sending XML 131

Summary 137

Chapter 8: Mixing in JavaScript 139

JSNI 139

JSON 146


Summary 155

Chapter 9: Adding APIs 157

A Weather Vane 157

Dashboard Visualizations 162

Working with Maps 168

Summary 175

Chapter 10: Working with Servers 177

The Challenges to Meet 177

Cryptography 179

Stateless Versus Stateful Servers 183

Common Operations 185

Summary 193

Chapter 11: Moving Around Files 195

Uploading Files 195

Downloading Files 204

Summary 209

Chapter 12: Internationalization and Localization 211

Internationalization (i18n) 211

Localization (l10n) 223

Summary 227

Chapter 13: Testing Your GWT Application 229

Why Testing? 229

Unit Testing with JUnit 231

Integration Testing with GWTTestCase 247

Acceptance Testing with Selenium 253

Summary 257

Chapter 14: Optimizing for Application Speed 259

Design Patterns for Speed 259

Speed Measurement Tools 277

Summary 286

Chapter 15: Deploying Your Application 287

Compilation 287

Modules 289

Code Splitting 291

Deployment 297

Summary 300

Index 301


Titel: Essential GWT
Untertitel: Building for the Web with Google Web Toolkit 2
EAN: 9780321705594
Digitaler Kopierschutz: Adobe-DRM
Format: E-Book (epub)
Hersteller: Pearson ITP
Genre: Programmiersprachen
Veröffentlichung: 28.07.2010
Dateigrösse: 18.2 MB