A simple Real-time Web App built with Nashorn Scripting

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?

A simple Real-time Web App built with Nashorn Scripting

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