开发者

Why doesn't GWT use gwt-dispatch?

After looking into gwt-dispatch and the Googl开发者_JAVA百科e 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜