发布于 2016-08-02 23:25:51 | 81 次阅读 | 评论: 0 | 来源: 网友投递
GWT Google 的 Web 开发框架
Google Web Toolkit的缩写,有了 GWT可以使用 Java 编程语言编写 AJAX 前端,然后 GWT 会交叉编译到优化的JavaScript 中,而 JavaScript 可以自动在所有主要浏览器上运行。GWT允许开发人员使用 Java 编程语言快速构建和维护复杂但性能高的 JavaScript 前端应用程序,从而降低了开发难度,尤其是与 Eclipse Google 插件结合使用时,优势更明显。
GWT 2.8.0 RC1 发布了,
一些提升:
Partial support for Java 8 standard library APIs (see below for full list).
Fix memory leak with Java 8 compilation.
Source level set to Java 8.
Static and default methods in interfaces aren’t visible to generators. If you want to take advantage of those Java-8isms, you’re encouraged to switch to an annotation processor. This could break existing build if an interface is changed to turn a non-default method into a default method.
编译器改进:
Update JS reserved keywords to ES6.
Fix instanceof for primitives & string.
Make exceptions work across Java/JavaScript boundary
Allow casting native arrays to Object[].
Use patched JDT to circumvent memory leak when compiling for Java 8.
更多改进信息,查看完整发布说明。