Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 598385 thumbnail
User 191976 avatar

By ganeshread
via gmarwaha.com
Published: May 10 2011 / 07:08

I have given GWT a shot couple of years back on the day it was released. I didn’t like it that much then, so I dismissed it and never returned back. But, over the past six months working on this project I have a slightly different impression on this framework. I still cannot say that GWT is the next big thing since sliced bread, but at least it is not as bad as I thought it was. I have just documented my observations, both good and bad during the course of this project and thought some fellow developer might find it useful while evaluating GWT.
  • 45
  • 0
  • 8232
  • 104

Comments

Add your comment
User 202710 avatar

wytten replied ago:

0 votes Vote down Vote up Reply

very nice

User 393686 avatar

RawThinkTank replied ago:

0 votes Vote down Vote up Reply

Since it dont support Scala , i am sure many will try to create its replacement in Scala.

User 174509 avatar

philho replied ago:

0 votes Vote down Vote up Reply

To my knowledge, there are attempts to compile Scala to GWT. I don't know how advanced these tries are.
I also saw attempts to use Vaadin with Scala.

User 393686 avatar

RawThinkTank replied ago:

0 votes Vote down Vote up Reply

hmm, i wonder what if google had complied byte code to JS instead of Java.

User 191976 avatar

Ganeshji Marwaha replied ago:

0 votes Vote down Vote up Reply

I wish the same... I am sure there is some problems related to that, otherwise why would they go for source code translation?

User 457955 avatar

Alexander Orlov replied ago:

0 votes Vote down Vote up Reply

Unlike GWT, Vaddin is pure Java. So you can use every JVM-compatible language to write Vaadin apps. Although the Google guys call it "compilation", GWT code isn't compiled at all and has nothing to do with Java beside it uses the same syntax.

User 174509 avatar

philho replied ago:

0 votes Vote down Vote up Reply

I am not sure about the nature of Vaadin. They say it is "Built on GWT-based widgets".
And it depends on what you can "compilation". If you say it is a transformation of a high level language to a lower level language closer of a platform or more portable, that's what GWT does (transforming Java to a language understood by all browsers: JavaScript). Lot of compilers actually generated C or C++ code, for example.
And to my knowledge, GWT code is Java code, just restricted on some libraries.

User 457955 avatar

Alexander Orlov replied ago:

0 votes Vote down Vote up Reply

Actually in this case the transformation happens from a low level language to higher level language. JavaScript is a prototyped-based dynamically typed language, whereas Java has primitive types like Integers and Strings.

Never argued about the fact that a part of GWT code is written in Java, but it's Java merely in the sense of the Java syntax usage.

Vaadin uses GWT under the hood but it encapsulates these widgets that become — in the context of Vaadin — real fully Java-accessible widgets without any restrictions.

User 425299 avatar

bhill replied ago:

0 votes Vote down Vote up Reply

Could have done w/o the Java bashing in the article.

User 191976 avatar

Ganeshji Marwaha replied ago:

-1 votes Vote down Vote up Reply

There was no java bashing per-se except for the mention of unexpressiveness of the language... It is important to point that out, as Javascript is far more expressive. Without mentioning this point we won't be giving javascript the respect it deserves.

User 425299 avatar

bhill replied ago:

1 votes Vote down Vote up Reply

Article quote:
"After all it is Java and Java is not a fun language to work with. "

The author has the right to express his opinions about Java, I have the right to disagree.

The overall article is good, though the author's love for Javascript over Java is pretty easy to read between the lines.

It would a boring blogosphere if everyone agreed.

User 457955 avatar

Alexander Orlov replied ago:

0 votes Vote down Vote up Reply

Google's GWT doc isn't good at all as the author claims. Maybe it looks good but it actually isn't. Try to implement the RequestFactory using Google's documentation. Following their tutorial you'll fail (as I did spending a whole day...) as there a lot of information gaps.

In general the article has many superficial statements that badly reflect the real nature of GWT. However I use GWT too and I like it and hate it at the same time.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.