Live data from Hacker News

Google+ Technological Details

infoq.com

11–12 of 12 posts

Re: Google+ Technological Details

#11

I would love to hear why GWT wasn't used more. It seems to me that GWT is not widely used even at Google.

I use GWT (and SmartGWT which is based on GWT) a fair amount, and this is just my opinion: GWT is targeted at Java developers who want to create rich client applications. The development environment (I use IntelliJ) is reasonably agile and there is a rich set of components to use. So, a nice developer experience for Java developers who don't want to use other languages (like Javascript). That said, GWT seems a little…

frameworks like JQuery or Clojure probably make much more sense

I think you meant Closure[1] (not Clojure)?

[1] http://code.google.com/closure/

Re: Google+ Technological Details

#12
post #9

I would love to hear why GWT wasn't used more. It seems to me that GWT is not widely used even at Google.

GWT is awesome if you have a team of Java developers who aren't really web developers. You can be productive without having all the HTTP/css/javascript/html skills you would need otherwise (though you still want someone on your team who can look at the details underneath the abstraction). But if you want something as fast and as scalable as possible, of course you can do better by working at a lower level.

The other side of that is that in the hands of someone with good knowledge of HTML and CSS, you can accomplish quite a bit with GWT.

Prior to starting a project with GWT, I had only done client-side development in vanilla Javascript, HTML, and CSS. I was pretty skeptical about the prospect of writing in Java and having it compiled to Javascript being a viable way to create a web app.

Fast forward almost a year, and I've built a complex user-facing app for my company using custom CSS styled components and HTML5. I was worried about GWT being a leaky abstraction, but thus far it has, for the most part, just worked.

The biggest win for me isn't even the Java to JavaScript compiled. UiBinder has ended up being a great way to design custom widgets using html and css, and having them be easily reusable throughout the app.

So, while GWT can be used by Java devs to avoid having to learn much about HTML and CSS, using it this way results in missing out on a ton of its potential. In the hands of the right developers, it can be quite a good tool for creating great looking, complex client-side apps.

I realize some people hate Java with a passion, but I've found that the non-enterprisy style of Java I use when writing GWT apps isn't painful at all.

Post reply on HN