简体   繁体   中英

Google Web Toolkit Sample Applications

I have googled some time now trying to find a good sample application that is written with the Google Web Toolkit (preferably with Eclipse). I'm looking for a full web application with a database and stuff like the following program on codeplex which is written in ASP.NET and has a login system: http://mvcmusicstore.codeplex.com/

I found some other sites but they do not contain the exact details that I need:

http://code.google.com/p/gwt-examples/wiki/project_MySQLConn

http://code.google.com/intl/nl/webtoolkit/examples/

I want to learn GWT because I think it has some great advantages.

  1. Generate (good and cross-browser compatible (>IE6, >FF~2.0, >chrome1)) JavaScript at the server-side for the client that will save CPU cycles on the server
  2. Use Java at the server (instead of C# with ASP.NET) which is free to use and deploy, and is a good OO language
  3. Program and test in other OS's than windows (LAMP server, free :) )
  4. Out of the box HTML5 support which can be used as a replacement for flash/silverlight animations to save bandwidth
  5. Eclipse has a visual designer plugin (GPE) where you can put widgets on and works like WPF/Silverlight where I have already some experience with
  6. The widgets are great and I expect them to work like the WPF/Silverlight equivalents (stackpanels, grids etcetera)
  7. Google uses it (so it must be great :P )

Some disadvantages in my opinion:

  1. No good support for VS2010 (super IDE of course)
  2. Not as many users as ASP.NET or PHP (?) so less good code examples to find
  3. Not many I think? Maybe some little debug difficulties because of the generated JavaScript

Please criticize this as much as possible ;)

GWT projects are almost identical to other Java-based web applications. Client side has the major differences (and limitations therefore) of course, but everything else is pure Java. Maybe it would be better to start off by learning Hibernate, servlets and such? Find out the best techniques for You and then dig into GWT.

EDIT: I found a really detailed GWT tutorial http://www.vogella.de/articles/GWT/article.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM