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...

Integrating AI CodeGen With Low Code Application Development

This is a demo showing Solvent-Lowcodr working with AI Code generation (ChatGPT) to build web apps in a low code fashion. This demo uses Vuetify Component Library. This is the first in a series showing various ways that AI CodeGen and low code can be combined in Solvent-Lowcodr to accelerate web application development. In subsequent posts we'll show how to use AI CodeGen to build low code building blocks in Solvent-Lowcodr. We'll also show demos for React.

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.