Google Web Toolkit. Introduction to GWT Development. Ilkka Rinne & Sampo Savolainen / Spatineo Oy



Similar documents
Google Web Toolkit (GWT) Architectural Impact on Enterprise Web Application

Preface. Motivation for this Book

Rich Internet Applications

place/business fetch details, removefromfavorite () function, 189 search button handler bind, B BlackBerry build environment

AJAX Toolkit Framework

Web Application Development

Web Development with the Eclipse Platform

Google App Engine f r o r J av a a v a (G ( AE A / E J / )

RIA Overview for Windows 2000, 2002

Learning HTML5 Game Programming

2011 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media,

design coding monitoring deployment Java Web Framework for the Efficient Development of Enterprise Web Applications

TDAQ Analytics Dashboard

Google Web Toolkit. Progetto di Applicazioni Software a.a. 2011/12. Massimo Mecella

The Google Web Toolkit (GWT): Overview & Getting Started

Android Programming: Installation, Setup, and Getting Started

Running a Program on an AVD

-Android 2.3 is the most used version of Android on the market today with almost 60% of all Android devices running 2.3 Gingerbread -Winner of

Credits: Some of the slides are based on material adapted from

Introduction to Tizen SDK Alpha. Taiho Choi Samsung Electronics

GUI and Web Programming

Fahim Uddin 1. Java SDK

WA 2. GWT Martin Klíma

ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI /19/14 HANNAH MILLER

Data Visualization in Ext Js 3.4

How To Write An Ria Application

MO 25. Aug. 2008, 17:00 UHR RICH INTERNET APPLICATIONS MEHR BISS FÜR WEBANWENDUNGEN

How To Develop A Mobile App With Phonegap

Build your own Fiori hybrid mobile app rapidly using SAP Web IDE Marc Anderegg, SAP SESSION CODE: BT404

A Web-Based Environment for Learning Normalization of Relational Database Schemata

Enterprise Application Development In Java with AJAX and ORM

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

AUTOMATED CONFERENCE CD-ROM BUILDER AN OPEN SOURCE APPROACH Stefan Karastanev

Software Development Interactief Centrum voor gerichte Training en Studie Edisonweg 14c, 1821 BN Alkmaar T:

Orion: Software Development in the Browser

Issues of Hybrid Mobile Application Development with PhoneGap: a Case Study of Insurance Mobile Application

Sabre Red Apps. Developer Toolkit Overview. October 2014

Lucy Zhang UI Developer Contact:

Reminders. Lab opens from today. Many students want to use the extra I/O pins on

Building Rich Internet Applications with PHP and Zend Framework

Introduction to TIZEN SDK

HTML5. Turn this page to see Quick Guide of CTTC

Table of contents. HTML5 Data Bindings SEO DMXzone

Whitepaper. Rich Internet Applications. Frameworks Evaluation. Document reference: TSL-SES-WP0001 Januar

Progressive Enhancement With GQuery and GWT. Ray Cromwell

Considerations for Mobile Application Development

Take full advantage of IBM s IDEs for end- to- end mobile development

An introduction to creating Web 2.0 applications in Rational Application Developer Version 8.0

Rich Internet Applications

Designing and Implementing Support for Web Browser-Based UIs by Using Ajax Technology

ORACLE MOBILE APPLICATION FRAMEWORK DATA SHEET

Petroleum Web Applications to Support your Business. David Jacob & Vanessa Ramirez Esri Natural Resources Team

Rich User Interfaces for Web-Based Corporate Applications

Deepak Patil (Technical Director) iasys Technologies Pvt. Ltd.

Advantage of Jquery: T his file is downloaded from

HTML5, The Future of App Development

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM Eng. Wafaa Audah.

NotePad No More: - A Personal Survey of HTML5 Developer Toolsets. Stewart Christie - Tizen and HTML5 Community Manager.

How To Write A Web Server In Javascript

Dialogic PowerMedia Extended Media Server (XMS) RESTful Web Applications Using Google Web Toolkit and the Atmosphere Project.

Eclipse Web Tools Platform. Naci Dai (Eteration), WTP JST Lead

Rich Web Applications in Server-side Java without Plug-ins or JavaScript

Selenium WebDriver. Gianluca Carbone. Selenium WebDriver 1

HP ALM Masters 2014 Connected, collaborative mobile application development for the enterprise HP Anywhere

Overview. In the beginning. Issues with Client Side Scripting What is JavaScript? Syntax and the Document Object Model Moving forward with JavaScript

Introducing Apache Pivot. Greg Brown, Todd Volkert 6/10/2010

Android Setup Phase 2

Coding for Desktop and Mobile with HTML5 and Java EE 7

Migration and Developer Productivity Solutions Cloud, Mobile and Web Development Workshop

AJAX and jmaki for Web 2.0 Development using Java. Inyoung Cho Java Technology Evangelist Sun Microsystems, Inc.

Embedded BI made easy

Getting Started with Android Development

Selenium Automation set up with TestNG and Eclipse- A Beginners Guide

Java with Eclipse: Setup & Getting Started

Cross-Platform Phone Apps & Sites with jquery Mobile

Lecture 10 Fundamentals of GAE Development. Cloud Application Development (SE808, School of Software, Sun Yat-Sen University) Yabo (Arber) Xu

How To Develop Android On Your Computer Or Tablet Or Phone

Building native mobile apps for Digital Factory

Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT

Introduction to Oracle Mobile Application Framework Raghu Srinivasan, Director Development Mobile and Cloud Development Tools Oracle

Java-based web-apps with the Rich Ajax Platform (RAP)

Retool your HTML/JavaScript to go Mobile

CrownPeak Java Web Hosting. Version 0.20

Developing ASP.NET MVC 4 Web Applications MOC 20486

RIA Technologies Comparison

Develop IBM i Mobile and Desktop Applications with a Single Code Base. BCD Software, LLC. All rights reserved.

Adding Panoramas to Google Maps Using Ajax

Load Testing RIA using WebLOAD. Amir Shoval, VP Product Management

Load Testing Ajax Apps using head-less browser tools. NoVaTAIG April 13, 2011 Gopal Addada and Frank Hurley Cigital Inc.

Introduction to Android. CSG250 Wireless Networks Fall, 2008

l What is Android? l Getting Started l The Emulator l Hello World l ADB l Text to Speech l Other APIs (camera, bitmap, etc)

SECTION TWO MODULE SYLLABUSES

Jordan Jozwiak November 13, 2011

Development for Mobile Devices Tools from Intel, Platform of Your Choice!

Friday, February 11, Bruce

<Insert Picture Here> Java, the language for the future

Introduction to Appeon Mobile

ASP.NET 2.0, AJAX And Expression Web. Name Title Microsoft Corporation

Budget Event Management Design Document

NetBeans IDE Field Guide

Transcription:

Google Web Toolkit Introduction to GWT Development Ilkka Rinne & Sampo Savolainen / Spatineo Oy GeoMashup CodeCamp 2011 University of Helsinki Department of Computer Science

Google Web Toolkit

Google Web Toolkit Code your browser apps in Java

Google Web Toolkit Code your browser apps in Java Test your app locally in your browser

Google Web Toolkit Code your browser apps in Java Test your app locally in your browser Debug your code using regular IDE debuggers

Google Web Toolkit Code your browser apps in Java Test your app locally in your browser Debug your code using regular IDE debuggers

Google Web Toolkit Code your browser apps in Java Test your app locally in your browser Debug your code using regular IDE debuggers GWT compiles your app into optimized JavaScript

Google Web Toolkit Code your browser apps in Java Test your app locally in your browser Debug your code using regular IDE debuggers GWT compiles your app into optimized JavaScript

Google Web Toolkit Code your browser apps in Java Test your app locally in your browser Debug your code using regular IDE debuggers GWT compiles your app into optimized JavaScript Deploy anywhere (it s just JS + CSS + HTML)

Don t Worry About

Don t Worry About Coding in JavaScript (embed JavaScript code with JSNI if you really have to)

Don t Worry About Coding in JavaScript (embed JavaScript code with JSNI if you really have to) Developing in browser (use the Java IDE you like)

Don t Worry About Coding in JavaScript (embed JavaScript code with JSNI if you really have to) Developing in browser (use the Java IDE you like) Implementation details of client-server communication over HTTP

Don t Worry About Coding in JavaScript (embed JavaScript code with JSNI if you really have to) Developing in browser (use the Java IDE you like) Implementation details of client-server communication over HTTP Writing cross-browser compatible JavaScript + DOM

Development Mode Since GWT 2.0: dev mode code is run in the browser as Java (GWT Dev Plugin) IDE Java debugging, code hot swapping as you save & refresh. Speeds things up! Dev mode also runs a local server to simulate your server side GWT code (RPC Servlets)

UI Components Basic components for building Java-like GUIs for browser applications: Page & panel layouts Buttons, trees, tables, input fields, etc.

UI Components Basic components for building Java-like GUIs for browser applications: Page & panel layouts Buttons, trees, tables, input fields, etc.

UI Components Basic components for building Java-like GUIs for browser applications: Page & panel layouts Buttons, trees, tables, input fields, etc.

UI Components Basic components for building Java-like GUIs for browser applications: Page & panel layouts Buttons, trees, tables, input fields, etc.

UI Components Basic components for building Java-like GUIs for browser applications: Page & panel layouts Buttons, trees, tables, input fields, etc.

UI Components Basic components for building Java-like GUIs for browser applications: Page & panel layouts Buttons, trees, tables, input fields, etc. Extended by third party developers to provide more elaborate components Demo: http://gwt.google.com/samples/showcase/showcase.html

Google API Integration Google API integration using separate libraries Gears API Library 1.3 Gadgets API Library 1.2 Google AJAX Search API Library 1.1 Currently released: Google Maps API Library 1.1 Note: use 1.1.1-RC1 for now! Google Chart Tools (aka Visualization) Library 1.1 Google Language API Library 1.1 Google Ajax Loader API Library 1.1 Google+ API Library 0.2-alpha Google Books API Library 0.2-alpha Google Latitude API Library 0.2-alpha etc. http://code.google.com/p/gwt-google-apis/

JRE Emulation Library Final GWT apps run in JavaScript (without JRE) GWT Provides JRE emulation for JRE 1.5 basic functionality, but not all of it. Be especially careful with time/date handling, regular expressions, number formatting, timers http://code.google.com/webtoolkit/doc/latest/devguidecodingbasicscompatibility.html

Java-to-JavaScript Compiler When you re ready to deploy your code, ask GWT to compile GWT generates JS, HTML, CSS, packages them into a WAR file with image resources etc. Ready to be deployed on a Java Servlet Container or Google App Engine Note: Extract <appname>.nocache.js and <md5>.cache.html + resources from the WAR file to run without a Servlet Container

Let s see some code! GWT Development in Eclipse Codecamp demo application Deployment to Google App Engine