Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 734 Bytes

README.md

File metadata and controls

37 lines (19 loc) · 734 Bytes

tl;dr

This demo app demonstrates how to create a simple non-blocking WebSocket and HTTP server using Nashorn scripting and Webbit (hello end-to-end, Javascript apps on the JVM!)

quick intro

http://tech.kinja.com/a-simple-realtime-webapp-using-nashorn-scripting-1059181159

prerequisites:

setup:

make update

make run

then visit:

http://localhost:9000/index.html

and

http://localhost:9000/hello

repl:

make console

development environment:

Combining all this with [fswatch] (https://github.com/alandipert/fswatch), one could get a pretty decent development environment for building server side JavaScript services on the JVM.