many other developers, including me, would appreciate if you'd use
protected factory methods in non-final classes (even if the class is
not abstract), like:

a no-go:
------------
void func() {
 A = new A();
 A.doSomething();
}

instead, a better pattern:
-----------
protected A createA() {
 return new A();
}

void func() {
 A = createA();
 A.doSomething();
}
---------


because in some situations the integration of GWT into existing
environment becomes a little nightmare, and it would be great pay more
attention to DI

thank you!!

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to