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, GWT returns an object that...
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 setMiddleName...
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. A kind reader also pointed me at InsiTech's GWT binding solution, which happens to be payware. At the time of my initial exploration, I was only aware...
This JavaOne I finally got to check out Google Web Toolkit. After hearing David Geary speak, I have to confess the next day I made a beeline to the bookstore and picked up his excellent book, Google Web Toolkit Solutions and stayed up late each night in the hotel working through the examples in the book.
One of the things I have discovered since starting to experiment with GWT is that it is...