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.
Fifteen years ago, Ceph RBD began as a community-driven idea that grew into essential infrastructure powering today's cloud platforms. This insider story from Yehuda Sadeh-Weinraub reveals how two developers started a distributed storage that now supports OpenStack and Kubernetes through transparent, collaborative development.
By Yehuda Sadeh-WeinraubIn this podcast, Mandy Gu from Wealthsimple discusses how to establish AI programs in organizations and implement Generative AI (GenAI) initiatives, and the relationship between user profiles and adoption of LLMs.
By Mandy GuMicrosoft's Azure AI Foundry Service now supports the Model Context Protocol (MCP), revolutionizing AI agent integration. This streamlined approach eliminates cumbersome custom coding, allowing seamless connection to data sources and workflows. With enterprise-grade security, developers can effortlessly enhance agent capabilities, ushering in a new era of interoperability and efficiency in AI.
By Steef-Jan WiggersThis week's Java roundup for June 30th, 2025, features news highlighting: point and maintenance releases of Spring gRPC, Micronaut, JReleaser, Quarkus and Apache Tomcat; the beta release of Open Liberty 25.0.0.7; and sunsetting of the Quarkus legacy configuration classes.
By Michael RedlichIn a recent paper, Stanford researchers Mason Kamb and Surya Ganguli proposed a mechanism that could underlie the creativity of diffusion models. The mathematical model they developed suggests that this creativity is a deterministic consequence of how those models use the denoising process to generate images.
By Sergio De Simone
© 2025 Created by Michael Levin.
Powered by