Tuesday, August 28th, 2007
When I see something at Google have its beta tag removed, I know that the team has gone through a lot to deserve that privilege. We recently noted that GWT 1.4 was almost there, and now it is. GWT 1.4 is here.
The latest release comes with a revamped Mail example that shows a three-paned email client written in GWT.
New widgets and libraries
- RichTextArea, HorizontalSplitPanel and VerticalSplitPanel, SuggestBox, DisclosurePanel, PushButton, ToggleButton, and an enhanced Image widget make advanced applications easier than ever.
- ImageBundle automatically consolidates multiple images into a single HTTP request.
- NumberFormat and DateTimeFormat make easy work of complex internationalization and localization.
- You can finally use java.lang.Serializable with GWT RPC, and the GWT RPC server-side subsystem is no longer intimately tied to servlets. You can easily wire it into any Java back-end infrastructure. Spring fans, rejoice.
- A new JUnit-based benchmarking subsystem makes measuring and comparing the speed of code snippets as easy as writing unit tests.
New deployment options and optimizations
- Adding GWT modules to an HTML page is now simple: just add a <script> tag.
- You can now include GWT modules across domains. Note that including scripts from other sites that you don’t fully trust is a big security risk.
- Auto-generated RPC whitelist files are now produced during compilation to help catch accidentally responding with objects that compiled GWT client code wouldn’t be able to deserialize.
- The GWT distribution now includes a DTD for the GWT module XML format, making it easier to configure modules in an DTD-aware XML editor.
Posted by Dion Almaer at 3:20 pm