GWT 2.1 RC1 Brings Features Initially Scheduled for 2.2
- Share
-
- |
Read later
Reading List

A note to our readers: You asked so we have developed a set of features that allow you to reduce the noise: you can get email and web notifications for topics you are interested in. Learn more about our new features.
GWT 2.1 RC1 contains features specified by the roadmap, such as new table and tree widgets, but also features that were initially planned for GWT 2.2, such as logging. Another important feature is an MVP framework.
Cell Widgets
GWT 2.1 introduces a number of new widgets called Cell Widgets or Data Presentation Widgets. Currently, the new set contains Cell List, Cell Table, Cell Tree, Cell Browser, Cell Sampler, and Cell Validation. These widgets can be used to view large data sets having millions of records. Cell widgets are light because they are not using the traditional approach of creating containers holding other containers or widgets, but the widgets are created by injecting HTML into the DOM, speeding up initialization and event handling.
Safe HTML
Since cell widgets are created by injecting HTML, the code presents security vulnerabilities because methods like setInnerHTML
, setHTML
cause the browser to evaluate their argument as HTML. To avoid that, GWT introduces Safe HTML, a library which used according to the guidelines is supposed to shield the application from a number of possible attacks.
MVP Framework
GWT 2.1 has a Model-View-Presenter framework, introducing two new concepts: Activities and Places. An activity is a concept similar to a presenter, while a place is a Java object storing the state of the UI. If an activity is associated with a place then the activity can be referenced through a URL.
Server-side Speed Tracer
Developers deploying applications on GAE or SpringSource TC Server Developer Edition can use Speed Tracer to analyze the performance of the code running on the server for database calls, memcache hits, resource fetches, etc.
Logging
GWT 2.1 adds support for logging using a framework similar to java.util.logging
, including remote logging when client code log events are recorded on the server instead of the client.
VMware will soon release Spring Roo and SpringSource Tool Suite versions supporting the new GWT features.
Rate this Article
- Editor Review
- Chief Editor Action
Hello stranger!
You need to Register an InfoQ account or Login or login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think
No more javax.validation
by
Luca Masini
This is very annoying for me, does anyone knows the reason ?
EJB all over again?
by
Alexandre Poitras
Re: EJB all over again?
by
Luke Dywicki