Kinja Technology

A simple Real-time Web App built with Nashorn Scripting

This image was lost some time after publication, but you can still view it here.

Nashorn, Oracle's invokedynamic-based JavaScript engine is easily the most exciting feature of the upcoming Java 8 release for me.

Here is how to write a simple real-time web app using Nashorn scripting and Webbit:


and the corresponding html:

pretty cool, isn't it?


PS: you can find the whole project on github here.

PPS: In terms of limitations, you may also want to check out Nashorn's multithreading story which is explained here


Share This Story

Get our newsletter