Nashorn and NetBeans: Not Your Average Joe's Rhino

What can be done with JavaScript and Java together in NetBeans IDE via Nashorn is kind of mind blowing. Watch Jim Laskey explain Nashorn within 10 minutes, including mixing JavaScript and Java in NetBeans 8.

Based on JSR 292 and available in JDK 8, Nashorn is a JavaScript engine implemented fully in Java on the JVM. In the screencast above, from the Java 8 launch, the Nashorn JavaScript Engine is described and a top-level view of how it all works is provided, with demos of JavaScript & Java working together.

And, over on DZone, Constantin Drabo today published another great article with code from NetBeans 8 on this topic: Nashorn Application with NetBeans 8.


Maybe you could also mention how to <a href="">debug such application</a>!

Posted by Jaroslav Tulach on March 29, 2014 at 05:53 AM PDT #

Does netbeans 8.0 support intellisense for java classes while using java in javascript?

Posted by guest on April 08, 2014 at 07:42 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.


« February 2015