nudge4j is a tiny piece of Java code to make your Java application accessible to the browser.
It's meant for use during development to provide an environment for experimenting with code against a running application.
The snippet of Java code starts a web server in your JVM allowing for JavaScript server side execution
You can expose Java objects as arguments. The first argument is the server's port
AJAX is used to post code to execute against the JVM (nudge4j.js)
Security. The snippet uses only the machine's loopback address (127.0.0.1/localhost) limiting network accessibility. It also imposes same-origin-policy,
and has built-in XSRF protection