LearnGWT.com

RPC

News
GWT 1.5RC1
By mdamour1976 | Published on June 28, 2008 | 0 comments | Categories: News
Google Web Toolkit Version 1.5 Release Candidate 1 is out
GWT 1.5RC1 was release a few weeks ago.  I've been developing against 1.5 since M1 was released and I've been quite pleased with the 1.5 features.

New Features

Compiler, Hosted Mode and Linker enhancements
JRE Emulation - New Classes & New Methods
User Interface
Remote Procedure Calls
  • Use of generics
  • Improvements to Asynchronous interface
  • Better detection of failures
  • Serialization tweaks
Internationalization Support
  • Bidirectional Widgets
  • Support for plural forms
  • LocaleInfo class added to allow the client to access detailed information about the locale it is running in
The GWT documentation is served up through a GWT Application (The Google Doc Reader project)
GWT Documentation
GWTSwing has been set free
By mdamour1976 | Published on January 15, 2008 | 0 comments | Categories: News | Interoperability | Widgets
The GWTSwing project has been open sourced

For the past week I have been working on an idea to allow developers to run their GWT applications as desktop applications with Swing with the goal being that developers will not have to change their code.  This grew out of a larger debate on writing XUL to build applications but would still require individual platform implementations for UI and business logic.  Using GWT + Swing we can cover the web (browser independent by way of GWT) and we can cover the desktop (platform independent by way of Java/Swing).

This weekend I open sourced this project in hopes that others my find it useful and I contribute towards the effort of completeness.  The current mode is that I've got a bunch of test code which I have been using to chip away at the API, but it's nowhere near 100%.

Will Gorman has contributed to the project during his "porting" of his GWT application to GWTSwing.  I saw a demo of this today and he's got his application working with both GWT and Swing without any code differences (just a jar switching exercise).

http://code.google.com/p/gwtswing/
GWT: A new way of doing Web development
By mdamour1976 | Published on January 15, 2008 | 0 comments | Categories: News
An article featured on linux.com about GWT
I just found this article on linux.com on GWT and thought I'd pass it along.

It's basically an article advocating the use of GWT to allow developers to quickly and easily create applications like gmail or google maps.  They go through a tad bit of the history of GWT and get into a short getting started guide.

From the article:

Are you dazzled by the way you can drag Google Maps around or move from one place to another without having to reload the screen? Or maybe you're a fan of Gmail and its look and feel? If you want to develop Web sites with Google's signature user-friendly features but are afraid of the work involved, take a look at the Google Web Toolkit (GWT).

Read more here.
UFacekit
By mdamour1976 | Published on January 10, 2008 | 0 comments | Categories: News
UFace provides a Universal API to create rich user interface applications on a variety of platforms such as the web via GWT or Java via Swing or Eclipse.

I discovered a pretty neat project tonight which seems like these guys have been working on a similar idea as my GWTSwing project.


UFace provides a Universal API to create rich user interface applications on a variety of platforms such as the web via GWT or Java via Swing or Eclipse.

UFace provides a thin facade above the various widget implementations, then uses JFace Data Binding to bind your model objects to the user interface widgets.

The primary targets are implementation for GWT (including 3rd party widgets from e.g. gwt-ext, MyGWT), SWT/JFace and Swing but the API should flexible enough to allow other widget libraries to provide their own facades such as for things like QT-Jambi or JGoodies.

Goals

  • to promote reuse of rich UI code across Eclipse (JFace/SWT), GWT and Swing runtimes
  • to allow GWT developers to switch from the default GWT widgets to MyGWT or gwt-ext or even DOJO or YUL
  • to simplify rich UI development by providing simpler facades and powerful Binding
  • promote the use of JFace Data Binding within GWT and Swing communities
Read more.
GWTSwing
By mdamour1976 | Published on January 10, 2008 | 0 comments | Categories: News
GWTSwing provides a GWT look-alike API which uses Swing widgets and handles RPC service calls.
I have been working with Will Gorman to come up with what he calls "The Holy Grail" of application development.  We're both huge fans of GWT and recently came up with an idea that might change how we develop software.

At work we have thin-clients (web), swing and swt applications and there are always issues with integration or re-writing an application to fit in another UI framework.  One approach was to use XUL to write the UI in XML markup so we don't have to "write the UI" again.  While this solves a good portion of the headache, more can be done.

Since the web is becoming richer and richer, the line between what we thought was only possible with desktop applications is being pushed miles ahead.  We'd ideally like to see all of our applications have a web presence (possibly only a web presence).  But in order to make everyone happy, XUL could be used as described, but this still requires us to re-implement significant UI logic in JavaScript or Java (or other).  With the advent of GWT we are free to use Java (and all the tools and IDE support that go along with it) to create our UI.  Since we're writing Java code (which ultimately becomes JavaScript by way of GWT compilation) it would be great if this GWT code could be used as is by our other UI implementations.  I've been using SWTSwing for some time now, and the basic idea of having a look-alike API for a GWTSwing seemed like an interesting idea.

GWTSwing would allow us to build our applications with GWT, using the widgets and RPC service API and have them work in both worlds without touching the Java code for the application.  To date I have implemented all of the base GWT widgets (and event listeners) as well as a few of the layout containers and the RPC mechanism.  The GWTSwing RPC mechanism "looks like" the GWT.create() API but it uses some pretty incredible use of cglib, reflection and classloaders to dynamically generate an asynchronous version of a service which dynamically proxies requests through the discovered service implementation (typically a servlet) and then passes the result back on through the asynchronous callback.  I have built a few tests which demonstrate widgets, events and RPC.

I will soon share more of this project and include examples and screenshots.
Google Web Toolkit Applications (Book Review)
By mdamour1976 | Published on January 06, 2008 | 0 comments | Categories: News
Book Review of Google Web Toolkit Applications
Chris over at GWTSite has just reviewed the new book Google Web Toolkit Applications by Ryan Dewsbury who runs GWTApps.com.

Check out his online review here.
Videos & Presentations from Pearson's GWT Conference Available
By mdamour1976 | Published on January 03, 2008 | 0 comments | Categories: News
Videos & Presentations from Pearson's GWT Conference Available
According to the GWT Blog, the videos from Pearson's GWT conference are available online for everyone to enjoy.

Read more.
Tech Giants Woo Developers Seeking JavaScript Turf
By mdamour1976 | Published on January 03, 2008 | 0 comments | Categories: News
Tech Giants Woo Developers Seeking JavaScript Turf
This article talks about products from Google (GWT), Microsoft (Volta), and Adobe (ActionScript /Tamarin).

The clear takeaway from this article is that there is a strong desire and an obvious consensus that developing pure Javascript applications from scratch is an awful headache and developers are getting plenty of options from big vendors.  This is a huge space, but I believe that since Google has been doing GWT for a few years now, with an Apache 2.0 license, GWT has a tremendous advantage.  Google doesn't necessarily have anything to gain from community adoption of GWT, other than a large built-in crowd of QA/QE. 

It is Microsoft and Adobe who have something to lose, and in the long run, it will be hard to fight against an open source product backed by Google with such growing traction in the field.

Read more here.