Question

After looking into gwt-dispatch and the Google Wave I/O presentation (Best practices) (video here), I'm wondering why the official GWT release (2.0) doesn't use dispatch (ie. the command pattern) for it's RPC calls. Does anyone know?

Was it helpful?

Solution

GWT offers a basic way for calling service methods. You can use different patterns in conjunction with that. So if you just want a very simple service, with maybe a few methods that just take an Integer, and return a String - you can do that. If you want more, you can add gwt-dispatch or also something else easily.

This way, the GWT core stays simpler and cleaner, and the code size can be kept smaller for those who don't need that functionality. It's a modular approach.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top