April 8, 2009

Just posted a GWT and Google App Engine Java App…

I just ported chapter 10 from my GWT book to the Java App Engine. I’m very impressed with Google’s release today. I had to:

  • upgrade Eclipse to use the new Google Eclipse Plugin and create a new Web Application Project
  • change the code to use JDO instead of Hibernate since this is what App Engine uses
  • click the “Deploy App Engine Project” button in Eclipse

and it was up: http://gwtapps10.appspot.com

I really value GWT for the way it solves the software engineering issues with Ajax and thick web clients. I always discourage selecting technologies based on how quick it takes you to get a app compiled and running from scratch but damn, this is by far the quickest way to deploy a full stack web application using the absolute best possible technologies available (google’s scalable infrastruture, async http, image bundling, monolithic javascript compilation, easy RPC)
Thanks Google!

I’ve attached the source code if you’re interested. Send me your thoughts and updates!
GWTApps-DatabaseEditor-AppEngine.zip

(I’ve removed the jars from the zip because they were too big (war/WEB-INF/lib). You should copy the required libs back to this directory. Use the Google plugin to generate a new App Engine web app and copy the jars from its lib directory.)