Friday, 7. September 2007
Google Web Toolkit 1.4 Released
Writing dynamic web applications can be a tedious and error-prone process; you spend 90% of your time working around subtle incompatibilities between web browsers and platforms, and JavaScript's lack of modularity makes sharing, testing, and reusing AJAX components difficult and fragile. Google Web Toolkit (GWT) is an open source Java software development framework that intended to make writing AJAX applications like Google Maps and Gmail easy for developers who "don't speak browser quirks as a second language". You can write the front end in the Java programming language, and the GWT compiler converts the Java classes to browser-compliant JavaScript and HTML.
Bruce Johnson, Engineering Manager at Google, says there's lots and lots of cool new stuff in GWT 1.4, particularly application performance. The release includes several features that make your compiled GWT code smaller and faster. "Many users are reporting that after a simple recompile with 1.4, their applications are up to 30% smaller and 20%-50% faster. And startup time in particular is now highly optimized thanks to a new bootstrapping technique and the availability of image bundles." In addition to a fast initial startup, GWT code uses a clever caching technique to prevent applications from making unnecessary HTTP requests.
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