Why choosing GWT ? 08 Feb 2014
In the following article I will give you some of the reasons that pushed me to use GWT in my company. I will go from the most important to the less important (so that you can only read the first one).
Java and Swing devs will learn it quicly (even better if they have experience in MVC). Plus GWT packages a lot of good practices to optmize your web site performance.
It is the strength (and the weakness) of GWT. By coding in java you benefit from all the good stuff coming with it.
- very powerfull IDEs like Eclipse or IntelliJ with refactoring capacity, static code analysers checkstyle, findbugs etc.
- natural OOP (even if js is becoming more and more OO)
- unit tests fwk (Junit) + coverage (Emma) + mocking (Mockito)
That’s the beauty of it. If you need a js lib or component, simply use it ! Have a look to my article on the latest news about JSNI. Use GWT as much as you want, simply for a widget or for your whole application, it is up to you, you can mix the two.
Multi-browser / mobile support
Even if it is also true for some js fwk. Browser support is quite transparent in GWT. And you can count on GWT guys to include the best solution for each browser.
Open source / free
No need to pay any license / support ! For small companies I beleive it can be very important.
I am sure some of you have other good reasons. Please share them in the comments and I will update the article.