Ajax: Nova Atualização do GWT - Google Web Toolkit 1.2

Foi anunciado oficialmente o novo release do GWT 1.2, listado 9 Features novas, entre elas, o que mais me chamou a atenção foi a “Internationalization Easily create efficient internationalized applications and libraries, para trabalhar com internacionalização em suas aplicações AJAX.

Para quem não conhece o GWT, ou não sabe como começar a trabalhar com o AJAX usando o GWT, veja também o POST Aprendendo AJAX com Google Web Toolkit (GWT) e Eclipse.

Features:

  1. Dynamic, reusable UI componentsCreate a Widget by compositing other Widgets. Lay out Widgets automatically in Panels. Send your Widget to other developers in a JAR file.
  2. Really simple RPCTo communicate from your web application to your web server, you just need to define serializable Java classes for your request and response. In production, GWT automatically serializes the request and deserializes the response from the server. GWT’s RPC mechanism can even handle polymorphic class hierarchies, and you can throw exceptions across the wire.
  3. Browser history managementNo, AJAX applications don’t need to break the browser’s back button. GWT lets you make your site more usable by easily adding state to the browser’s back button history.
  4. Real debuggingIn production, your code is compiled to JavaScript, but at development time it runs in the Java virtual machine. That means when your code performs an action like handling a mouse event, you get full-featured Java debugging, with exceptions and the advanced debugging features of IDEs like Eclipse.
  5. Browser compatibleYour GWT applications automatically support IE, Firefox, Mozilla, Safari, and Opera with no browser detection or special-casing within your code in most cases.
  6. JUnit integrationGWT’s direct integration with JUnit lets you unit test both in a debugger and in a browser…and you can even unit test asynchronous RPCs.
  7. InternationalizationEasily create efficient internationalized applications and libraries.
  8. Interoperability and fine-grained controlIf GWT’s class library doesn’t meet your needs, you can mix handwritten JavaScript in your Java source code using our JavaScript Native Interface (JSNI).
  9. As we mentioned when we released the 1.2 Release Candidate, you can now develop and debug with GWT on Mac OS X in addition to Linux and Windows. We are pretty proud of this particular feature because GWT is now about as “platform independent” as you can get: develop on Windows, Linux or Mac OS X and deploy to IE, Firefox, Safari and Opera on any platform, without any special cases in your code. (If you want a bit more detail about our implementation of Mac OS X support, our release nomenclature and other tidbits, this recent InfoQ interview may interest you.)

Leave a Reply