The question Why should I use jQuery instead of GWT? may be outdated (as its answers). And most of the other SO related questions may also be outdated nowadays. So, let's update the state of the art about GWT relevance for new projects.
GWT is more mature nowadays
Since 2009 questions/answers, GWT has evolved and some JS frameworks are available in Java:
- GwtQuery for jQuery (gQuery)
- GXT for ExtJS (former ExtGWT)
- Smart GWT has superseded GWT-ext
- ... and surely more ... (please feel free to append)
And even more, Java code can be converted to standalone JS libraries: gwt-exporter
But low-level JS frameworks may be enough
But more I read, more I see web developers advising to turn his back on GWT and use directly JS frameworks (Firebug, IDE plugins for JS frameworks...).
Productivity
However I like the idea of developing and debugging using the same IDE (Eclipse, Netbeans, IntelliJ IDEA...). I think I will be more productive... I should also think about Documentation and Community (forum reactivity as for this SO question)...
Questions
- For what kind of new 2014 project GWT should be (or not) considered?
- Are there pertinent alternatives to GWT for easy AJAX web application development & deployment?
- What are the current mode and trend?
My specific case
I have just completed a POC (of an intranet web app) based on Python3 (http.server.HTTPServer
) calling (POST) bash
scripts (some processing in C++) and retrieving JSON data. Some JS (no framework) in the web page for rendering. So I am wondering the best option for next iteration.
But please answer this question about other cases too. I would prefer a general question/answer to be useful to many more people.
UPDATE October 2015
GWT looks less active because no new release since 11 month. But in the past until 13 months between versions 2.4 and 2.5. The Git repo mirror is still very active. Moreover GWT is extensible, and new features can come from GWT libraries without requiring new GWT framework release. See for example the most common mobile GWT libraries and there corresponding release cycles. In the mean time the trend is to use Node.js everywhere! Adoption of GWT for new projects really depends on developers skills/motivation and project lifetime (turnover/training/maintenance). Some other criteria as reuse of available source code and time-to-market may also be taken into account... See excellent below answers.