Codetown ::: a software developer's community
Last night we talked about running Javascript dynamically from Java. Java 8 includes Nashorn. Adam Davis describes Nashorn in his new book on Java 8:
https://leanpub.com/whatsnewinjava8/read#leanpub-auto-nashorn
"Nashorn replaces Rhino as the default JavaScript engine for the Oracle JVM. Nashorn is much faster since it uses the invokedynamic
feature of the JVM. It also includes a command line tool (jjs)"
Tags:
I've played around with calling JavaScript from within Java -- but only really on toy projects. Would be interesting to hear peoples real world use cases deployed to production.
Chris, There's an article in Java mag about various scenarios using Nashorn. http://www.oraclejavamagazine-digital.com/javamagazine/jan_feb_2014... It also shows how to call Java from within Nashorn.
Very cool -- Thanks for the link!
Codetown is a social network. It's got blogs, forums, groups, personal pages and more! You might think of Codetown as a funky camper van with lots of compartments for your stuff and a great multimedia system, too! Best of all, Codetown has room for all of your friends.
Created by Michael Levin Dec 18, 2008 at 6:56pm. Last updated by Michael Levin May 4, 2018.
Check out the Codetown Jobs group.
At QCon London, Rachael Greaves, chief executive officer at Castle Systems, presented both the obligations and benefits of data minimisation as a mechanism to decrease the impact of data breaches. AI autoclassification and automatic decision-making tools help with the ever-increasing data volumes as long as ethical principles are considered, allowing decisions to be challenged.
By Olimpiu PopJetBrains IDE Services aims to help enterprises manage their JetBrains tool ecosystem more efficiently and boost developer productivity at the enterprise scale through the integration of AI, remote collaboration, and more.
By Sergio De SimoneIn this podcast Shane Hastie, Lead Editor for Culture & Methods spoke to Dannielle Pearson about the importance of critical thinking in technology.
By Dannielle PearsonThis week Microsoft released Preview 6 of the .NET Aspire project. Significant changes have been implemented to enhance the security and reliability of the platform. This release, version 8.0.0-preview.6.24214.1, introduces several noteworthy additions, like changes related to templates, components, dashboard, testing and more.
By Almir VukLily Mara, Hunter Laine walk through the design of a system, its performance characteristics, and how they scaled it.
By Lily Mara, Hunter Laine© 2024 Created by Michael Levin. Powered by