Skip to main content

Javascript for Java (ie JVM)

One of the exciting developments in the recent JDK-8 release is the integration of the Nashorn Javascript engine.

Vertically integrated Javascript web application development

Nashorn allows for the development of applications in the Javascript language on the JVM, what this means in general is that you can build both the frontend and backend of web applications in the same language, ie Javascript.


What's in it for you

Vertically integrated Javascript development has great appeal as can be attested to by the popularity of NodeJS. For the JVM this offers massive opportunity. Currently a lot of businesses with JVM infrastructure are constrained by their inability to staff for their Java developer needs. With technology such as Nashorn, a JVM shop doesn't need to demand Java skills, instead as a JVM shop you can hire developers already skilled in Javascript and put them to work building your business applications while still taking full advantage of the massive JVM technology platform.


What HiveMind offers

What HiveMind has to offer is a ready to use web app platform for making full use of Nashorn. Currently if you want to use Nashorn without a platform like HiveMind, you'll either have to manually integrate it into an existing Java application or use it as an ordinary scripting facility. What HiveMind does however is allow a developer to use Nashorn as a fully functional web app solution by means of a middleware that wraps around the Nashorn engine. HiveMind is so far the easiest way to do vertically integrated Javascript web application development on the JVM.

Note
HiveMind ships with Mozilla Rhino Javascript engine, if you are running JDK-8 then using Nashorn is a trivial matter.

Comments

Popular posts from this blog

Declarative Programming With AI/LLMs

  What Is Declarative Programming Broadly speaking, there are two ways to program/instruct a computer to perform a task, they are imperative vs declarative programming. Imperative programming is what we do the most, we write all the code necessary for the computer to perform a task such that the only thing left for the computer to do is fetch and execute CPU instructions. If you are using Java,C#, Javascript...etc you are doing imperative programming. Declarative programming is a higher-order form of programming, we instruct the computer to perform a task but otherwise let it "figure out" how to do it. Declarative programming requires some sort of software based execution engine. Whereas with imperative programming our code gets compiled into some machine/byte code and then run by the CPU, declarative programming requires a layer of software that does the "magic" that allows you to use it without having to write the precise logic for completing tasks.  I would guess...

Building a Youtube video portal with AI

  In Solvent we are focused on effectively combining the following modes for authoring web apps: Code-Centric Lowcode/No code AI CodeGen/Assist In this post we are going to showcase app authoring degrees-of-freedom as a requirement for fully realizing the benefits of combining these modes/perspectives. Demo: building a video portal Our prompts : Video walk-through Part 1:   Video walk-through Part 2:   Video portal live : Built with combined modes of Lowcode/No code, Code-Centric, AI CodeGen/Assist.  

Integrating AI CodeGen With Low Code Application Development - Part 2

In this post we follow up from the previous AI CodeGen integration into a Lowcode environment, which was a manual process.  In this post we showcase the new direct AI integration support, then follow that up with using that integration to automate the process of issuing a prompt and generating a Lowcode app. Part 1 - Basic AI Integration Demo (OpenAI, Anthropic, Gemini) Part 2 -CodeGen and Lowcode Integration via automation using all three models.