找回密码
 FreeOZ用户注册
查看: 2597|回复: 4
打印 上一主题 下一主题

[新技术交流] GWT 1.5 Now Available

[复制链接]
跳转到指定楼层
1#
发表于 29-8-2008 16:48:14 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?FreeOZ用户注册

x
FROM:http://googlewebtoolkit.blogspot ... -now-available.html

Posted byBruce Johnson, Engineering Manager - Thursday, August 28, 2008at4:14:00 PM
We're happy — no, ecstatic — to announce that GWT 1.5 is now officially released and available for download.
Download GWT 1.5
GWT 1.5 delivers what we think are an impressive number ofimprovements, about four hundred issues if you're counting. We're alsohappy that one of those is issue 168, our most-requested feature, Support for Java 5.
We've blogged about several of the new features already. Now that it's official, let's recap and expand the list a bit...
Java 5 language support and enhanced JRE emulation  增强对Java 5 JRE的模拟
  • You can now use Java generics to add clarity and type safety to your client-side Java source.Generics also greatly simplify the definition of GWT RPC services — no more @gwt.typeArgs.
    Java泛型支持
  • Simplify your code with for-each loops, autoboxing, static imports, and enum types.
    for-each, 枚举,自动装箱,静态导入。。。
  • Subsystems such as RPC, image bundles, internationalization, and benchmarking now use proper annotations.To maximize code re-use, the GWT compiler also ignores unrecognized annotations, such as those required by JPA, that typically appear on types shared between the client and server.
    RPC,国际化等功能可以采用annotation了
  • New JRE emulation classes have been added including StringBuilder, TreeMap, LinkedHashMap, and other popular utility classes.
    StringBuilder, TreeMap, LinkedHashMap等JRE新类的支持
  • Assertions are now optionally supported in web mode. If you invoke the GWT compiler using the -ea flag, assert statements in your code will be retained in the compiled JavaScript.This can be helpful during QA cycles.
    assert支持
Performance optimizations and easier JavaScript interop
  • The GWT compiler has gotten smarter. It now does comprehensive method inlining, which can eliminate signficant overhead due to function calls.Developers using GWT 1.5 release candidate builds have reported speedups of up to 2x, especially in performance-sensitive areas of their code. We've even heard from end users that apps compiled with GWT 1.5 just feel faster. Admittedly, feels faster isn't a quantifiable benchmark, but we sure like the sound of it.
    速度最高是前一版本的2倍
  • The venerable Tree widget has gotten much faster in GWT 1.5. In tests, we've measured huge improvements across the board, including 5x and 10x speedups on IE7 and IE6, respectively.
    Tree 控件在Ie6和Ie7上有巨大的性能飞跃
  • With new JavaScript overlay types, you can seamlessly and efficiently integrate with objects originating in handwritten JavaScript. Overlay types also provide a particularly elegant new way to interact with JSON data from GWT.
    Javascript Overlay功能,让GWT和手写的Javascript更平滑的交互
  • The new Linker subsystem gives you total control over your code'spackaging and bootstrap behavior so that you can deploy GWT output intoany context where JavaScript is relevant (think Gadgets, Firefoxextensions, Greasemonkey scripts and Gears worker threads). If itsounds complicated, don't worry: most GWT users can simply re-use thebuilt-in linkers. But it's nice to know you can create your own if youneed to. See Bob Vawter's Google I/O talk on Linkers for the theory, and Ray Cromwell's GWT Extreme! talk for some enlightening real-world examples.
    一个新设计的GWT编译器
Prettier widgets, better DOM, accessibility, and bi-di 更美观漂亮的控件,新的跨浏览器的DOM类, bi-di.....
  • The original KitchenSink sample has been retired in favor of a new sample called Showcase. In addition to demonstrating a wide variety of GWT features — widgets, themes, animation, history, accessibility, internationalization and bi-di to name a few — Showcase helps developers understand how code and CSS fit together by providing the source for each showcased feature.
  • Experienced GWT developers know and like the fact that widgets rely almost exclusively on CSS for styling. However, prior to GWT 1.5, GWT projects did not include a stylesheet by default, giving developers new to GWT the unfortunate impression that GWT widgets were inherently ugly.With this release, we're introducing three nice-looking default CSS themes you can use as a starting point for your own designs.
  • Not only are the standard GWT widgets prettier in this release, they're more functional. The major widgets such as Tree, MenuBar, and TabPanel now support ARIAfor enhanced accessibility. In addition, widgets now supportbi-directionality so that UI works properly for right-to-leftlanguages.(You can see all this in action in the Showcase sample.)
  • A new cross-browser DOM packagemaps the entire set of W3C bindings onto GWT-compatible Java classes.After all, not every project needs full-on widgets.If you want to do low-level DOM programming or you're writing newwidgets, you'll really like these new classes.It feels as if you're writing JavaScript DOM manipulation code butbetter: you get reliable code completion, easy debugging, cross-browserportability and compiler optimizations.
Those are some highlights. The (new) GWT Developer's Guide has a more detailed explanation of GWT 1.5 changes, including notes about a few breaking changes you'll want to be aware of.
For further information or for help getting started with GWT, you may find the follow links helpful:
  • If you're new to GWT, the Getting Started Guide takes you through a very quick example of installing and using GWT.
  • There's a new in-depth GWT tutorial that guides you through the process of building and enhancing an application from scratch.
  • If you're particularly curious, you can also browse the entire 1.5 issue list.
We really hope that you'll find that GWT 1.5 helps you build the mostsophisticated web apps you can envision. And when you build the nextbig thing, please share your success stories in the GWT developer forum.
Download GWT 1.5
回复  

使用道具 举报

2#
发表于 29-8-2008 16:53:12 | 只看该作者
提示: 作者被禁止或删除, 无法发言
如果我没记错的话,那个公司给培训。net的人是LS吧?咋样呀?
回复  

使用道具 举报

3#
 楼主| 发表于 29-8-2008 16:58:33 | 只看该作者

回复 #2 xblues 的帖子

还没开始呢,急啥啊
回复  

使用道具 举报

4#
发表于 29-8-2008 17:36:11 | 只看该作者

回复 #3 coredump 的帖子

提示: 作者被禁止或删除, 无法发言
等你开始,黄花菜都凉了。那时候.net也都4.0了吧?
回复  

使用道具 举报

5#
 楼主| 发表于 29-8-2008 17:42:28 | 只看该作者

回复 #4 xblues 的帖子

maybe
回复  

使用道具 举报

您需要登录后才可以回帖 登录 | FreeOZ用户注册

本版积分规则

小黑屋|手机版|Archiver|FreeOZ论坛

GMT+11, 17-11-2024 10:21 , Processed in 0.023014 second(s), 21 queries , Gzip On, Redis On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表