In Java 8, Nashorn has been embedded into the new JVM. Nashorn 's goal is to implement a lightweight high-performance JavaScript runtime in Java with a native JVM. This Project intends to enable Java developers embedding of JavaScript in Java applications via JSR-223 and to develop free standing JavaScript applications using the jrunscript command-line tool. Find-out around it! Wiki Blog about Nashorn : Where Oracle introduce how-nashorn-work
Diary of Java Programming language