A couple of days ago, the next and long-awaited version of the web application development framework, GWT in version 2.5.0.RC1, was released. Let's see what's new we will see in release 2.5.
1)
Super Dev Mode - an experimental replacement for the usual Development Mode. Like its predecessor, Super Dev Mode allows GWT developers to quickly recompile code and see the result in the browser. It also allows you to use debager. However, it works differently. If you do not go into details about which you can read
here , the differences from the good old Dev Mode are as follows:
- No browser plugin required. Supporting different browsers will be easier, including on mobile devices.
- Automatic recompilation is not done after each page reload, which simplifies the debug of multi-page applications.
- Super Dev Mode will not suffer from errors in plug-ins of various browsers.
- Developers can debug Java, JavaScript, and possibly other client side languages in the same debag session. This is especially useful when GWT code directly calls JavaScript.
- Browser debuggers have advanced features such as DOM breakpoints.
There are of course disadvantages. Of the main ones, it should be noted that the work on Super Dev Mode has not yet been completed, and it is still being tested only in Chrome and Firefox.
2)
Elemental is a new experimental library for fast lightweight and “to the metal” web programming in GWT.
Elemental supports all HTML5 features, including access to the DOM of course, but also WebGL, WebAudio, WebSockets, WebRTC, Web Intents, Shadow DOM, File API, and others. Elemental also includes high-performance collections and a new JSON library that both work well in both the browser and the server.
3)
New compiler optimizations . The GWT compiler can optionally use a
Closure compiler to provide additional JavaScript optimization. Since these optimizations slow down compilation, you need to use the special compiler flag
-XenableClosureCompiler
.
4)
Updated ARIA support . A new ARIA library has been added, which fully covers the
W3C ARIA standard . It enhances the proper assignment of ARIA roles, states, and properties of DOM elements.
5)
Improved UiBinder . GWT 2.5 adds extensions for UiBinder, which supports cell rendering and event management. In particular, it allows UiBinder to generate a UiRenderer implementation to assist in rendering SafeHtml and dispatching events for methods marked with the @UiHandler tag.
Also introduced IsRenderable / RenderablePanel types. When used instead of HTMLPanel, they can significantly reduce the rendering time and reduce the response of complex UiBinder interfaces.
This is just a brief overview of the main features. A more complete description of the new features and fixed bugs can be found in the
Release Notes .
Download GWT 2.5.0.RC1
here .
And also came the GWT plugin for Eclipse 4.2 Juno, which can be downloaded in the usual way for plugins. Repository address:
dl.google.com/eclipse/plugin/4.2