GWT 1.6 的新功能
将在2009 年Q1 发布的GWT 1.6 将带来一些新的功能,有些功能还在讨论中,有些已经可以确定了.
- 新的编译文件部署结构
- 更容易的编译成war 形式. 让你可以更容易在标准的servlet 容器里部署
- 默认的hosted mode 的容器从tomcat 转向jetty
- 相信不用解释原因吧
- 统一的event handler
- 新的event handler 将会实现统一的格式,对所有widgets 都一致的格式,监听器会有重复.
- 新的组件DatePicker , LazyPanel
- 字符串性能提升
- StringBuilder 使用延迟绑定提高字符串添加浏览器
- 编译性能提升
- GWT 1.6 将会引进新的并行编译, 现在的GWT 编译其实消耗的内存还是比较大的.
在1.6 之后还在讨论的新功能
- Developer Guided Code splitting
- Developer guided code splitting is a mechanism that allows developers to specify asynchronous split points in their code where the code base can be split and downloaded in different chunks. This is currently an R&D project but looks promising.
- Analysis of compiled code, aka Story of your compile (SOYC)
- Aims to give developers concrete information about their compiled JavaScript, such as which Java classes are generating the most JavaScript code.
- In-browser hosted mode, aka Out-of-process Hosted Mode (OOPHM)
- In-browser hosted mode will allow GWT developers to debug their apps within a browser rather than GWT’s hosted mode browser
- UI Binder
- The UI Binder will allow the creation of UI elements in a declarative fashion. Watch for UI Binder to land in the GWT incubator soon.
- Client Bundle
- Client Bundle implements the power of deferred binding used in Image Bundle in a generic fashion so that it can be used on many resources. These include TextResource, ImageResource, and CSSResource
- RPC performance improvements
- Ongoing work to improve the performance of RPC