mjeffw's blog
Exploring GWT 6: Detailed implementation
In the last entry, I got to the point where I had a functional GWT generator that was creating a do-nothing shell of the Person_PropertyAdapter class. Here, I plan to complete that implementation.
Exploring GWT 5: Generating the Code
So at this point, we have an interface, PropertyAdapter, for which we want GWT to generate an implementation at compile time using this call:
PropertyAdapter<Person> adapter = (PropertyAdapter<Person>)GWT.create(Person.class);
GWT must be told how to generate this class, which really means that GWT needs to be told which subclass of com.google.gwt.core.ext.Gene
Exploring GWT 4: Creating the Property Adapter
GWT's deferred binding is triggered with this call:
PropertyAdapter<Foo> fooAdapter = (PropertyAdapter<Foo>) GWT.create(Foo.class);
Or, more generally:
Object obj = GWT.create(Class aClass);
The developer passes a class to the GWT.create() method and GWT returns an object that extends that class (or, if aClass represents an interface,
Exploring GWT 3: The Proposed Binding Solution
If you recall from my last post, what I want to do in GWT code is take a class like this:
class Person
{
private String firstName;
private String middleName;
private String lastName;
public String getFirstName() { return firstName; }
public void setFirstName(String name) { firstName = name; }
public String getMiddleName() { return middleName; }
public void set
Exploring GWT 2: Properties and Binding
Looking around the web for GWT property binding libraries did turn up several interesting candidates. Gwittr is a project (hosted on Google code) that includes property binding support. Metawidget is another project with property binding support.
Exploring GWT
This JavaOne I finally got to check out Google Web Toolkit.





