+1  A: 

jQuery FTW. I am a fan of jquery because it is completely self-contained, you only have the $ in the window, you just add it and use it if you want, it does not add itself to any prototypes nor forces you to work in a certain way.

Also, I personally like better to program in javascript. If I understand it correctly, the selling point of GWT is "you can program everything in Java!". I have programmed in Java, I would preffer to program the server side in javascript too!

Victor
priceless comment on GWT
plodder
Yeah, and Android too. "Everything is Java, come have fun!" :S
Victor
+4  A: 

One tool does not fit all.

Use whatever best fits the needs of the particular project.

David Dorward
A: 

I've worked with alot of different Javascript GUI Frameworks such as Bindows, ExtJS, Backbase, Javeline, jQuery UI and all of them can be really great in their own right as long as you understand the kind of webapplication you will be making when you start to rely more on Javascript for UI then plain ol' vanilla HTML.

If you really need a rich user experience with treeviews, collapsable panes, listviews, datagrids, comboboxes. Go with one of the Javascript UI frameworks but be aware that jQuery UI does not compare to bigger brothers such as Bindows and ExtJs.

GWT and Bindows both offer a client side language that can render all the javascript for you and might be a very good pick if Java is your developers language of choice.

If you only want little bits of ajax and some small dom manipulations revert to plain old HTML and spice it up with jQuery. Personally this always wins for me since you're more in control of styling, and all the bits that fly over the line. Javascript UI frameworks tend to be big and hard to style.

Martijn Laarman
A: 

GWT is good if you have no competent javascript developers and want stuff fast. Otherwise I would avoid it. Its like playing the piano with boxing gloves

The JavaScript libraries you cite work as a complement to native JavaScript, not instead of it. They are all good, I wouldn't like to make a recommendation except to say you should check out prototype.js/scriptaculous and mootools too.

plodder
A: 

It depends on whether you are building a website or a web-app. Webapps are easier to build with GWT, websites are easier with a js library.

Use a Javascript Library if your website is content driven, and you don't really have much user interaction. Or if you care about Search Engine Optimization.

Use GWT if your web-app is action-oriented/interactive. Think Gmail/Google Docs. Here the user is interacting heavily with your app.

sri
A: 

I think it depends on your background, the type of application you want to do and if you are not alone, the experience of your team. Regarding gwt, there are also mixed approaches:

  • You can call js functions via native calls in gwt
  • there is a gwt port of jquery (i.e. $("h1").css("background-color", "red"); is valid java code!)
  • there are ways to export gwt methods to javascript (this means you can code javascript and access gwt code from there as a library - besides using other js libraries)
Harald Schilly