Google Web Toolkit News - onGWT.com

To content | To menu | To search

GWT Article

Entries feed - Comments feed

Saturday 4 October 2008

Managed Ajax - The best Approach to Ajax

Thomas :

My bet is that the current state of Ajax is roughly as the current state of development in general was 30 years ago when we were all developing in Assembly and C, JavaScript development feels inevitable, but it is not the future. And as time goes by fewer and fewer will choose to develop in "Assembly" Programming Languages and more of us will resort to "Managed Ajax". And in that process we will become far more productive and have far less Time2Market for our Ajax Applications...

I highly recommend you to read this post. It is very interesting !

Managed Ajax - A New Approach to Ajax

Inside Google Web Toolkit - back to basics

Vinay has published a nice entry about Google Web Toolkit. In few words he explains main concepts behind the wall.

  • The GWT Java To Javascript Compiler
  • What Does GWT Do
  • The GWT AST Model
  • GWT Javascript Code Generation
  • How Does GWT Native Javascript (JSNI) Work
  • How Does GWT Translate JDK Classes
  • What are GWT widgets
  • How Does the GWT RPC Mechanism Work

Inside the Google Web Toolkit (GWT)

Tuesday 30 September 2008

The Great Google Web Toolkit Roundup

Schalk Neethling :

Over the past two months or so we here at the web builer zone, thanks to Manning Publishing, have been publishing a comprehensive series on GWT. We recently published the last in the series and I thought that it would be a good idea to create a sort of index of all of these articles.

The Great GWT Roundup

image

Tuesday 16 September 2008

Tutorial : GWT, Maven2 and Eclipse

Tim :

I wanted to post some instructions for getting GWT compiler working with Maven2, at least the I way I use it in some of my gwt development. I hope developers using Maven for their build will find this useful, since unfortunately GWT  doesn’t support maven out of the box. There is a third party Maven2 plugin already available for GWT, however I personally find that using raw GWT compiler is rather more flexible.

GWT, Maven2, and Eclipse - living happily together (Part 1)

Thursday 11 September 2008

Tutorial : GWT and Servlet, back to basics

Kamal Chandana Mettananda :

Using GWT and Servlets inside one web application will result in a convenient web experiece. This tutorial will take you though the steps of developing a simple web application with Google Web Toolkit and J2EE Servlet Technology. The application will have a servlet on server side and one web page. When a user clicks a button on the page, web page content will be updated without refreshing or leaving the current page. But the web page will talk to a servlet deployed in web server and update the page content. The communication between web server and browser will be invisible to the user, providing a convenient web experience.

Google Web Toolkit (GWT) & Servlets - Web application tutorial

Wednesday 10 September 2008

GWT and OSGi

Ian Bull

A number of people have asked me how I configured GWT and OSGi. Some detailed steps are available here, however, following wiki pages is not always the easiest thing. I have created a small "hello, world" example. You can get the projects here.

GWT and OSGi

OSGi (Article on Wikipedia)

image

GWT, Spring and Hibernate Tutorial : final part

James Heggs :

After a few requests I have completed his tutorial on GWT, Spring and Hibernate. With the concluding part discussing the tuning of the web.xml file.

Hibernate, Spring, Google Web Toolkit - Part Four

Tuesday 9 September 2008

Configuring : Tomcat Lite and GWT

Schalk Neethling

The GWT shell uses a stripped down and somewhat customized version of the Apache Tomcat servlet container as its development mode server. Saying that GWT uses Tomcat is much like saying that your favorite driver drives a Camaro in NASCAR races. It might look like a Camaro, people might even call it a Camaro, but driving it's not like driving the Camaro your local GM dealer will sell you. In this article we look under the hood and see how to configure and use Tomcat 'Lite' with GWT.

GWT: The Development Server - Tomcat Lite

image

Thursday 28 August 2008

Google Maps and GWT Widgets

Tim White

What I was trying to do was add a box with some text under a marker on a Google Map.  I'm using Google Web Toolkit 1.5.1 and the official gwt-google-apis maps-api.jar to bind the maps stuff into GWT.

Creating Custom Google Maps Overlays with GWT Widgets

Wednesday 27 August 2008

Making Remote Procedure Calls with Google GWT - Back to basics

Schalk Neethling

GWT enables client applications to communicate with server resources through its own RPC and object-serialization mechanism. This communication process involves each side of the conversation implementing a very straightforward GWT service interface and sending/receiving special GWT serialized data. The server side exposes resources, and the client side invokes those resources asynchronously.

Making GWT Remote Procedure Calls

Friday 8 August 2008

JavaScript Overlay Type

Bruce Johnson

GWT 1.5 introduces JavaScript overlay types to make it easy to integrate entire families of JavaScript objects into your GWT project. There are many benefits of this technique, including the ability to use your Java IDE's code completion and refactoring capabilities even as you're working with untyped JavaScript objects.

A must read.
Getting to really know GWT, Part 2: JavaScript Overlay Types

Monday 4 August 2008

Getting to really know GWT - Part 1 - JSNI

Bruce Johnson

The next and hopefully last release candidate for GWT 1.5 is almost upon us. In anticipation, we'd like to really crank up the excitement level and, well, the sheer geek factor of this here blog. If you are new to GWT, you may be wondering what all the excitement is about. Why is GWT different from other framework-style solutions? GWT is more of a tool chain and a baseline technology rather than a particular application framework. So, although GWT has lots of libraries, you can use as many or as few as you find useful. Don't like GWT's UI? You can build your own using the DOM classes. Want to use JSON instead of RPC? It's easy. In fact, it is completely possible to start from scratch and build your own framework using GWT and benefit just as much from GWT's overall approach to debugging and compilation.

Getting to really know GWT, Part 1: JSNI

Tuesday 29 April 2008

Article : Drag and Drop for GWT Apps

David Geary and Rob Gordon

Until now, drag and drop for web applications has, for the most part, been limited to specialized JavaScript frameworks such as Script.aculo.us and Rico. No more. With the advent of GWT, we have drag-and-drop capabilities in a Java-based web application framework. Although Google Web Toolkit (GWT) does not explicitly support drag and drop (drag and drop is an anticipated feature in the future), it provides us with all the necessary ingredients to make our own drag-and-drop module. In this solution, we explore drag-and-drop implementation with GWT. We implement drag and drop in a module of its own so that you can easily incorporate drag and drop into your applications.

Implement Drag and Drop in Your Web Apps

Friday 11 April 2008

12 Things You Should Know About REST and WOA

Dion Hinchcliffe

So what are the big differences between traditional SOAP-based, top-down SOA and lightweight, bottom-up WOA? In the end, it's as much architectural and philosophical as it is technical. I'll also be clear and note that while successful large-scale SOA on the Web tends to favor REST, REST drives many of the concepts described below, rather than promoting them explicitly. In other words, REST resides at the core of Web-Oriented Architecture, which in turn describes a set of related approaches for creating a robust and bustling network ecosystem of loosely cooperating entities that typically compete for consumption via "architecture of the fittest."

Resource Oriented Architecture = Web Oriented Architecture

12 Things You Should Know About REST and WOA

image

Monday 31 March 2008

GWT Deferred Binding Example

neonleon

I wanted to post a very simple example of GWT deferred binding as I had trouble initially grasping it. What this example will do is alert a message to the screen based on a meta property set in the html page.

Example

Tuesday 25 March 2008

Parleys.com and GWT

Stephan Janssen

After the painful multi browser/OS DHTML/Ajax experience, I'm starting to appreciate more and more the GWT strategy.
We have a first GWT prototype of the Parleys.com client. It looks very nice, and it works without tweaking it on different browsers and Operating Systems. So, Google does deliver on its promise, as you would have hoped from the Google brain power.

Stephan is the founder of the JavaPolis conference. JavaPolis is the second largest Java conference, behind only JavaOne.

Stephan Janssen On Parleys.com And The RIA Landscape

JavaPolis conference

image

The Three Amigos : Maven, Spring and GWT

Stephen Callaghan

This article will show how to build a SOA-based system using Spring Services, a GWT client to talk to those services, and Maven 2 as a build tool to hold it altogether. There is also an associated reference project, created here at Shine Technologies and now open-sourced on Google Code using the Apache 2 License.

This article will start by covering the setup of a build environment using Maven. Then we'll start working through each of the layers in sequence, beginning with getting up-and-running with a compatible Spring Service layer. Next we'll add a bridge between GWT and the Spring Services. Finally, we'll introduce a GWT client that can attach to the bridging layer and thus communicate with the Spring services.

The Three Amigos - Maven, Spring and GWT

image

Sunday 9 March 2008

GWT 1.5 part 1 : Zero Overhead Javascript Interop

image Ray Cromwell

The next version of Google Web Toolkit is almost upon us, GWT 1.5, but don't take the minor version bump as an indication of how much it's improved, GWT 1.5 has so many awesome improvements, it would be more proper to call it GWT 2.0. That's one reason why it's been almost a year since the last release.
To celebrate the release, I will be writing a series of brief articles on each of the many improvements of 1.5, hopefully with sample code demonstrations.

Very interesting !

GWT:The Road To 1.5, Part 1

Wednesday 5 March 2008

High Performance Ajax with GWT

image infoq.com :

Today, InfoQ publishes a sample chapter "Integrating with a GWT-RPC Servlet"  from "Google Web Toolkit", a book authored by Ryan Dewsbury.

The Google Web Toolkit (GWT) provides a significant boost to Ajax development. Any new technology like this is a hard sell especially when there are many other choices. In reality, nothing gives you the benefits GWT gives you for Ajax applications. If you're not already bound to a framework it just doesn't make sense to not use it. By using GWT for your Ajax application you get big performance gains for free.

High Performance Ajax with GWT

Wednesday 27 February 2008

Using Gears as an optional speed boost

Ben Lisbakken

Google Gears is an API that is known for giving developers the ability to have their webpage viewable offline. However, it can also be used to speed up your website. In the case of the AJAX APIs, you can use the Google Gears local cache and client-side database to have queries load fast with cached data while requests for fresh data are done in the background.

Caching data using Gears is very simple.
gearsAJAXHelper: Use Google Gears with AJAX APIs for Faster Queries

Source : ajaxian.com

- page 1 of 5