a native language of the web • GWT compiles Java to another language • GWT needs to include many standard libraries in order to make the magic work • GWT needs complex build steps
[...] First, in many ways, JavaScript is more powerful and expressive than Java, so we suspect that the generation is going in the wrong direction. [...]” ! ThoughtWorks Technology Radar July 2011 http://www.thoughtworks.com/radar/#/platforms/gwt
• this provides the ability to build your own event loop • some awesome people have already done this, but it needs to be improved: ! • if you only need the event loop: Simulating Browser APIs https://gist.github.com/bripkens/8597903 https://bugs.openjdk.java.net/browse/JDK-8006183
Nashorn • enables you to do require('events') and more • uses libuv to support Node.js APIs • unfortunately still very young and not well documented Avatar.js to the rescue
Offline-first becomes more and more viable • run Node.js modules as part of your Maven based build process • we will probably come up with some very interesting use cases Summary