Skip to content

pk11/nashorn-websockets-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

nashorn websockets demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published