Google Web Toolkit
- In late February, I gave a presentation to a local Java Users Group on GWT.
- The first half of the presentation was basic and introductory in nature. Topics here included GWT RPC, the event bus, MVP, UiBinder, Eclipse, Maven, GWT Incubator, Smart GWT, and GXT.
- The remaining half talked about integrating GWT projects with other technologies that you would expect to find in any modern, enterprise grade web application. These include templating systems, IoC/DI, Security/Authentication, Cloud Computing, and intelligent search.
- Here is the slide deck to that presentation. Feel free to post any questions that you may have about this topic below as a comment and I shall answer them.
- Traffic to this page indicates to me that there is quite a bit of interest in GWT. Here are some extra resources for those wishing to learn GWT. Take a look at GWT in Practice by Robert Cooper and Charlie Collins and Pro Web 2.0 Application Development with GWT by Jeff Dwyer.
- There seems to be a lot of interest in using an ORM with GWT. In general, ORMs such as JDO and JPA are incompatible with GWT-RPC. DTO is the best practice approach to solving this incompatability problem. There is a lot of push back from the development community over DTO because of all the extra coding involved. One way to reduce some of that coding is to use a general purpose object assembler to do the transfers. Here are some open source projects to help you along with that.
- My original presentation mentioned both GeDA and simple-object-assembler. GeDA doesn't require an XML configuration file. Instead, it depends on annotations. This is a pretty small project lacking on documentation so be sure to check out this quick start page. The simple-object-assembler doesn't require any XML configuration or annotations. It does require that property name match or you have to code a custom converter which sort of defeats the purpose.
- Since then, I have also learned about Gilead and Dozer. I mention hibernate4gwt in the presentation. This project has been renamed Gilead. In theory, it is now supposed to be more general purpose than hibernate but in practice hibernate is still the only ORM currently supported. Dozer tries to map based on matching property names with some rudimentary type conversion if necessary but you can also provide an XML configuration if the names don't match completely.