28

I personally think that GWT is a great tool. It might be hard to get into it but once you're gaining some confidence you have all the benefits of a high level language and you don't have to use JavaScript if you want but you still can.

However, I like that fact that I can program my application in Java using e.g. Eclipse. I also think that the Super Dev Mode is quite neat and that the framework has a lot of stuff that can make your life easier e.g. the server client communication can be handled inside one Eclipse instance using just another shared Java project - I think this is awesome and I don't understand why anybody would prefer a library that forces me to write JavaScript when I have the alternative of writing a lot of that stuff using Java and compile it to JavaScript.

But on the other hand it appears that GWT dies a very silent, slow death e.g. if you take a look at Google Trends:

(See current results here: link)

enter image description here

I've spend the last days trying to create a GWT project in Eclipse and I had to struggle with quite a few things. There seems to be no easy way to create a simple modular GWT project. The only way was using gwt-maven-archetypes plugin; but this has its drawbacks too e.g. I now have to start the Codeserver and the Tomcat server from two separate Maven commands and Eclipse does not seem to kill the Codeserver if one presses the stop-button (at the moment I have to kill it using the task manager). Another thing is that the GWT Designer has also been discontinued and is not available for GWT 2.7.0 in Eclipse anymore.

That being said, I am having a hard time to decide if I should go for GWT. In my case this would bring to me that benefit of having a setup like this:

  • Android App (Java)
  • Database Server / RESTful API [Java (Hibernate / Spring)]
  • Shared Libraries (Java - of course)
  • GWT Web Application (Java - what else?)

but on the other hand I can see how fast one can work with AngularJS. Not even to mention that Google must have dropped the GWT project for a reason too.

So I was hoping that somebody who has experience with both frameworks who has switched from GWT to AngularJS or the other way around could share his or her experience with me or us. In addition I would be glad to hear some convincing arguments why to chose one over the other - I know stackoverflow does not allow opinion-based questions but (in my opinion *huehuehue*) one should be able to objectively separate those frameworks.

Thank you for your answers!


28.02.2018

enter image description here

Stefan Falk
  • 23,898
  • 50
  • 191
  • 378
  • 2
    i don't see a question here – AdamSkywalker Jun 11 '15 at 12:56
  • 1
    Have a look at http://gwtcreate.com/videos/index.html#singular (not ready yet though) and https://www.youtube.com/playlist?list=PL1yReUCGwGvrqscLu1EAyYRPrr0ceEHLE – Thomas Broyer Jun 11 '15 at 13:20
  • 2
    It sounds like comparison of yellow and cold. – Iaroslav Karandashev Jun 11 '15 at 14:35
  • 1
    @AdamSkywalker Why not? – Stefan Falk Jun 11 '15 at 16:57
  • @ThomasBroyer , the real MVP. I'm going to have a look at it as soon as I am off work! – Stefan Falk Jun 11 '15 at 16:58
  • 1
    @yarix Both are frameworks for web development, both are made by Google (though one is the unwanted child despite the other lets you write stuff in JavaScript). So what is here yellow and what is cold in your opinion? – Stefan Falk Jun 11 '15 at 17:00
  • 1
    @StefanFalk from average user point of view GWT is Java and AngularJS is JavaScript. There not too many cases when GWT-developer uses JSNI. GWT generates JS specific for Browser, AngularJS - not. GWT has obfuscation, AngularJS - nope. GWT generates CSS and Sprites, AngularJS? - no. etc. – Iaroslav Karandashev Jun 12 '15 at 10:16
  • 1
    We have no idea how many companies use GWT without notification rating agencies or anyone else. Developers will not tell this because of strict NDA's. – Iaroslav Karandashev Jun 12 '15 at 10:24
  • @displayname, did you find an answer? – A1exandr Belan Jun 03 '17 at 20:19
  • 4
    @FFire No, not really. All I can tell you is _if_ you consider GWT, you should take a look at [GWT Material](http://gwtmaterialdesign.github.io/gwt-material-demo/2.1/). It will definitely help you with your client. – Stefan Falk Jun 03 '17 at 22:57

0 Answers0