Has Jquery/MooTools/Prototype eliminated the need for GWT?
Asked Answered
F

3

5

I don't hear much about GWT any more.

When it first came out, it seemed to be all the rave in certain RIA circles.

But lately my impression is that GWT has suffered a dip in popularity because solutions like Jquery/MooTools/Prototype offer a much easier way of solving the same problem.

Is this accurate or does GWT solve a different type of problem?

Fiducial answered 15/4, 2009 at 17:54 Comment(1)
JS libraries make it easier for you to program client-side in JavaScript. GWT makes it possible to program client-side in Java. Problem is, it's still easier to program client-side in JavaScript...Cordova
F
3

GWT and javascript libraries serve two different purposes. GWT generates web applications from java code and javascript libraries can be used as a component within web applications. Because javascript libraries can be used in many different types of web application projects (ASP.NET, Ruby on Rails etc.) they may have more of an audience than GWT but the functionality of GWT isn't something javascript libraries completely replace on their own. Depending on needs, both can be very useful for their respective audiences.

Feck answered 15/4, 2009 at 18:17 Comment(2)
So you're saying GWT is more like a web application framework whereas js libraries are only used for creating client-side js for use in a web app created with some other technology. So they don't entirely overlap.Fiducial
GWT generates javascript, while js libraries ARE javascript. Someone who prefers coding java may very much prefer using GWT but to my knowledge those same results can be achieved by coding javascript directly, especially so with the help of the libraries you mention.Feck
S
4

Well, sort of.

The end-product of GWT ends up being something similar to what the other JS frameworks provide - a JavaScript solution that, for the most part, abstracts-away all the browser and DOM inconsistencies so you can focus on Real Work™.

However, there is a significant difference between GWT and the JS frameworks - programmers who author code with GWT are writing Java, which is then compiled into JavaScript.

So what it really comes down to is this: because great JS frameworks now exist, how many web developers are left that know Java, but don't know JavaScript? Ergo, don't know jQuery or MooTools or whatever?

To me, the answer to that question is: not many.

Snob answered 15/4, 2009 at 17:59 Comment(1)
"because great JS frameworks now exist, how many web developers are left that know Java, but don't know JavaScript?" Not only that but you also need to understand the DOM to work in GWT. I think you hit the nail on the head there. It seems increasingly difficult to justify using GWT from what I see.Fiducial
F
3

GWT and javascript libraries serve two different purposes. GWT generates web applications from java code and javascript libraries can be used as a component within web applications. Because javascript libraries can be used in many different types of web application projects (ASP.NET, Ruby on Rails etc.) they may have more of an audience than GWT but the functionality of GWT isn't something javascript libraries completely replace on their own. Depending on needs, both can be very useful for their respective audiences.

Feck answered 15/4, 2009 at 18:17 Comment(2)
So you're saying GWT is more like a web application framework whereas js libraries are only used for creating client-side js for use in a web app created with some other technology. So they don't entirely overlap.Fiducial
GWT generates javascript, while js libraries ARE javascript. Someone who prefers coding java may very much prefer using GWT but to my knowledge those same results can be achieved by coding javascript directly, especially so with the help of the libraries you mention.Feck
A
0

GWT of course is for folks who like to code using Java. If you are not a Java geek, you will not have passion for it, nor will be able to appreciate it. It has completely eliminated the needs to learn one new framework. All you need to know is Java, that's it. js frameworks as someone already pointed out can be used across platforms (.NET, Java, Ruby), but I am not sure if this statement is actually true.

Absinthism answered 25/4, 2009 at 8:4 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.