Skip to main content

M. Jeff Wilson

M. Jeff Wilson has been developing software since 1980, when a college roommate let him learn BASIC on an Apple IIe. He has worked as a developer for insurance companies, the US Government, IBM, a commercial CASE tool company, a warehousing inventory software and hardware startup, banking, and traffic engineering companies. He is currently an architect and developer on network management systems for a large telecommunications company.


mjeffw's blog

Exploring GWT 6: Detailed implementation

Posted by mjeffw on November 14, 2008 at 3:35 AM PST

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

Posted by mjeffw on November 7, 2008 at 4:30 AM PST

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

Exploring GWT 4: Creating the Property Adapter

Posted by mjeffw on September 25, 2008 at 5:39 AM PDT

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

Posted by mjeffw on September 21, 2008 at 8:43 AM PDT

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

Posted by mjeffw on September 16, 2008 at 8:05 AM PDT

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

Posted by mjeffw on September 15, 2008 at 7:21 AM PDT

This JavaOne I finally got to check out Google Web Toolkit.