Weekly GWT Links For 5/24/08

May 24th, 2008 - Written by in News

Sorry for missing the past couple editions of Weekly GWT Links.

  • Load test : Google App Engine = 1, Community = 0
    Didier Girard has posted the results from his Google App Engine + GWT load test that was performed yesterday. He also includes some interesting application scaling tips he received from Pete Koomen, Product Manager on the Google App Engine Team.

  • A new GWT widget written by Oliver Zoran which adds cross-browser support for HTML Canvas.
  • New GWT-Ext commiters
    Sanjiv Jivan introduces the new GWT-Ext project owners, Mario Lim and Abhijeet Maharana who will be taking over for Sanjiv on the project.
  • Building GWT Comet based web app using Grizzly Comet
    Sun Microsystem’s Jean-Francois Arcand has posted his JavaOne BOF presentation about writing real-time web applications using GWT and Comet.

1 Comment Stumble it!

Stress Testing GWT and Google App Engine

May 20th, 2008 - Written by in News

Qwerty - GWT and Google App Engine typing game

Didier Girard of onGWT.com is conducting an experiment with a game that he wrote called Qwerty. Qwerty is a simple speed typing game written using GWT and Google App Engine. It is a standard coded app with no special performance optimizations and Didier is trying to see if this combination can withstand “slashdot effect” type traffic.

This is an interesting experiment so come out and participate. The test starts this Friday, May 23rd at 7 AM PST. (check your timezone) Just make sure you have a Google Account and visit http://qwerty.codathlon.com/. See if you can beat my score of 207. =)

No Comments Stumble it!

Web 2.0 Application Development with GWT: Interview with Jeff Dwyer

May 13th, 2008 - Written by in News

by Jeff Dwyer recently came out last week. The book focuses on using GWT to develop a real Web 2.0 application called ToCollege.net. Jeff was nice enough to answer some of my questions regarding his book and to share his thoughts on GWT in general.

CF: Tell us a little about yourself and what experience you have working with GWT?

Jeff Dwyer (JD): In 2006 I got the entrepreneurial urge and set out on my own building a Web 2.0 site with GWT (http://www.myhippocampus.com/site/screencasts.html). Of course I didn’t settle on GWT immediately. As we all know, there are an almost infinite number of ways to approach the problem of creating rich web apps. Luckily for me, I tried GWT 1.0.21 early in my testing and never had a reason to look back. Working in an unfunded start-up shines a powerful spotlight on the relationship between writing code and getting results. The only thing worse than struggling for hours to get your site to work in different browsers is not getting paid for those hours! Programming with GWT meant I didn’t need to get a master’s degree in browser compatibilities and that I could refactor my code quickly and easily as my ideas changed. I initially did some of the graphically intensive things in Flash, but I eventually moved to pure GWT and was very impressed by how it handled an extremely complex DOM.

CF: Can you tell us a little about your book and what it covers?

JD: I’ve really tried to write the book that I would’ve wanted to read when I started with GWT. For me, figuring out the GWT basics was simple and pretty intuitive, so this book doesn’t focus very much on the basic UI elements. The tricky bits for me were understanding how to make GWT fit nicely into its environment. Getting it integrated with Maven, Jetty, Spring Security, Hibernate, SiteMesh, best practices for RPC etc. While I was building my application, I sure would’ve loved to have the source code of a functioning application. With that in mind I’ve built a full-sized web site called ToCollege.net. This is a real site that focuses on helping students with their applications to college. It has a heavy focus on being Search Engine Optimization (SEO) friendly, which is no small feat. I think the solution proposed is a pretty good one and definitely one of the more important chapters in the book.

The book also spends a lot of time trying to come to grips with the best way to split up your application. If you want GWT widgets on different pages of your application, it’s not always obvious what to do. I think the framework I’ve used on ToCollege.net is a good general purpose solution for people who aren’t building a simple single page application. I’m using Spring MVC, but the pattern is absolutely applicable to your web framework of choice. Beyond that, I also include a pretty in depth look at security, including XSRF and XSS attacks. Oh and Google Gears and Google Maps integration. Yeah, so there’s a bit there.

CF: How does it differ from the other GWT books out there?

JD: Well, it does cover 1.5, so that’s a big difference. I suppose I should talk about that here. The code for the book was written running on the GWT 1.5 trunk. Of course, 1.5 is taking a little bit longer to get out the door than we’d thought, but the book itself is up to date to 1.5 Milestone 1, and the source code you get from svn is running off Milestone 2 and will continue to be updated as 1.5 makes it out the door. It covers a lot of the great new things in 1.5. I tell you, ImmutableResourceBundle and the StyleInjector are so cool it’s painful. You have to feel sorry for anyone doing CSS sprites without ImageBundles.

CF: What do you like/dislike most about GWT?

JD: Hmm, robustness, refactoring, code completion in my IDE, offloading the tough bits to Google. ;) Seriously there are so many wins it’s tough to name them all. Since completing this book I’ve actually taken a job in a Ruby on Rails shop (PatientsLikeMe.com) so it’s been fun to immerse myself in another system. While there’s a huge amount to love about Ruby & Rails, I get nervous about the way that the JavaScript codebase becomes very fractured over time. The richer your functionality becomes, the more GWT has a lot to offer, no matter what your back-end is.

As far as dislikes, I do think it would be good for GWT to push developers away from

elements. I’m also looking forward to the declarative markup stuff. Also, I know some people complain about the lack of super fancy UI toolkits, but I think this is a red herring. It’s sooo easy to build things yourself and there are huge numbers of available extensions already. Wrapping existing JavaScript code is really easy.

CF: Thanks for answering my questions. Is there anything else you’d like to add?

JD: Well, please get in touch if you have any questions. The discussion group is available at . This is a real living project so it’s continually in development. Next up on the to-do list is converting to the very cool Spring Security 2.0 namespaces and an overhaul of the GWT forum system. Oh, and don’t forget to pick up a copy:

1 Comment Stumble it!

« Previous Entries Next Entries »