wood burning stoves
The moose likes HTML, CSS and JavaScript and the fly likes jQuery and GWT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jQuery and GWT" Watch "jQuery and GWT" New topic

jQuery and GWT

Roel De Nijs

Joined: Jul 19, 2004
Posts: 8403

Can jQuery get (easily) combined with GWT? I do not really have any practical experience about GWT, but because they render their own html and js, it seems rather difficult to incorporate jQuery.

And it will be a bit on the edge of this discussion, but what's your opinion about GWT? My current customer wants to use GWT for their next web application, because it's Java and they don't like typing plain html (like with jsp's, jsf,...). I have my doubts about it: using Java to generate html & js, because you can debug js more easy through this java code. I also have read that doing some things can be done in a few lines with inline html and js, but with GWT you need a lote more lines.

SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63866

While I can see the niche for which GWT might be appropriate, I personally will not touch it with a ten-foot pole. The last thing I want is to write a web app in a declarative fashion in Java and have the code auto-generated. I did enough of that sort of thing when I was working with X windows.

For a shop of Java Swing developers who have no web experience and who need to create a web app quickly, I can see its utility. But it's not for me.

[Asking smart questions] [About Bear] [Books by Bear]
Roel De Nijs

Joined: Jul 19, 2004
Posts: 8403

I have my doubts about GWT too. I myself have developed some web applications (using jsp, struts, jsf,...), but the colleagues of the company I'm working at (as a self-employed developer/consultant) don't like this little web application developed by another external consultant using Seam. For me it feels natural, but they simply dislike the whole idea of having to type html tags for some reason.
So I'll have to come up with some good arguments against GWT (or pro another web application framework), but even if I got any I don't think they will change their mind.
I agree. Here's the link: http://aspose.com/file-tools
subject: jQuery and GWT
It's not a secret anymore!