Gwt & Design Patterns
Last month i started a little open source project with google code
infrastructure. It is pretty exciting. The project is hosted in google code. It
includes a wiki, a bug tracker, and you work on its svn repository.
We decided to work with Google App Engine which supports Java now. It
is the biggest benefit of this cloud. You can now deploy Java web
applications on the internet in few minutes!
The presentation layer is being done in Gwt. The gwt/gae Eclipse
plugin makes develpment easier. Since my first experience in Gwt,
there has been improvements in many fields and the community tries to
suggest useful design patterns as
Commands packaging asynchronous calls, Bus Events to resolve communication between widgets.
One best practice that is suggested is MVP, Model-View-Presenter and
not an MVC, Model-View-Contoller for the interaction is easier to
apply test cases.
The Dependency Injection is resolved with Guice framework or maybe
closer to Gwt: Gin which is being finalized.
Links: