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

  1. Replies
    1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training in India . Nowadays Java has tons of job opportunities on various vertical industry.

      Delete
  2. I read your article and it’s totally awesome. You can consider including RSS feed in your site, so that we can follow your blog and get latest update direct on my inbox.
    Java Training in Chennai
    .Net Training in Chennai
    PHP Training in Chennai

    ReplyDelete
  3. Very useful information in this article! its really useful in  mobile application development

    ReplyDelete
  4. Very interesting content which helps me to get the in depth knowledge about the technology. To know more details about the course visit this website.
    Digital marketing course in Chennai | Digital marketing training in Chennai

    ReplyDelete
  5. Well Said, you have furnished the right information that will be useful to anyone at all time. Thanks for sharing your Ideas.
    Web Designing Course in Chennai | web designing training in chennai

    ReplyDelete
  6. Thanks for sharing this unique and informative content which provided me the required information.
    Java Training in Chennai | JAVA Course in Chennai

    ReplyDelete
  7. Thanks for splitting your comprehension with us. It’s really useful to me & I hope it helps the people who in need of this vital information.
    J2EE Training in Chennai|JAVA Training in Chennai|JAVA J2EE Training in Chennai

    ReplyDelete
  8. Excellent post!!! In this competitive market, customer relationship management plays a significant role in determining a business success. That too, cloud based CRM product offer more flexibility to business owners to main strong relationship with the consumers. Cloud Computing Training in Chennai | Cloud Computing Training

    ReplyDelete
  9. Look into opportunities where you may be able to pay for leads. Paying for leads is not a bad thing at all. In fact there are many companies out there that can deliver you leads at a surprisingly low cost. Just do your homework before signing up with anyone. There are scams out there.

    To understand additional about Digital Marketing Course in Chennai and online marketing training in chennai, please check out SKARTEC Digital Marketing Academy's website for the best online digital marketing courses

    best online digital marketing courses, digital marketing training in chennai, digital marketing course in chennai, digital marketing in chennai, digital marketing course, digital marketing training courses, digital marketing training institute, SKARTEC Digital Mareketing Academy, digital marketing course in chennai, SEO Training in Chennai, digital marketing course syllabus

    Create engaging content. Lead generation relies a lot on building trust with your product or service. Smart targeted content does a lot to help get you there. Your target audience will be more likely to do business with you if they feel you are providing great service and that you legitimately care.

    ReplyDelete
  10. wow great info. i am sure i will share this to my friends and relatives. Thank you very much.
    Oneplus Service Center in Chennai
    Mobile Service Center in Chennai

    ReplyDelete

Post a Comment

Popular posts from this blog

The feds need to shutdown the bitcoin scam now.

I live in Baltimore, let's say I have some hypothetical friends who are always looking for a good hustle.

Now imagine if my friends got together for a new get-rich-quick-scheme, the scheme is very simple. They invent something called cracken (bitcoins) that they start selling on a few blocks in Hamsterdam.

The way you get crackens is to do laps around the blocks in Hamsterdam. Initially when the scheme was setup, you could get a whole lot of crackens by merely doing a few strolls around the block. Needless to say my friends made out like bandits, since, after all they created the scheme and could take advantage of the first-come-first-serve rules.

Unfortunately for the rest of the hood, the number of laps required to get the same number of crackens keeps going up and after a while even the fittest folks in the neighborhood cannot do the lapse required to earn crackens.

Cracken mania takes hold and infects the whole city. Those with crackens start trading these crackens for exor…

Why Not Signed Password Authentication?

It is now universally acknowledged that basic password authentication does not offer sufficient security. 2-Factor authentication is a major improvement and hopefully would become the standard form of authentication over time.

Another approach that might work well would be to use public key cryptography to authenticate with a signed password instead of just the plain password.

An application (web or native) would generate the public/private key pair and store the private key locally while storing the public key along with the user's password on the server. This key generation can happen for instance during account sign up when it is clear the owner of the account is the one accessing it. Of course a key rotation mechanism can be devised to allow for a flexible way of rotating keys. This would all be transparent to the end user.

Instead of the user submitting just the password, they'll submit both the password and a timestamp based signature, ie plainpassword+curre…

Hype on HackNews and Silicon Valley

One of the consequences of refusing to drink the in vogue kool-aid is that you remain sober and take in the full brunt of the silliness going on around you.

The technology industry overflows with such silliness, like any credible geek I spend too much time reading HackerNews even when I don't want to.

One odd phenomenon I have observed over the past few years is the fact that there is a rather peculiar writing style in Silicon Valley, seemingly meant to make writing more efficient in conveying hype.

Specifically, the desire to create emphasis when otherwise the point being made is prosaic has lead people in Silicon Valley to come up with this odd writing style where adverbs are deployed in ways that no decent writer would. Let's just say a good chunk of "influencers" in SV suffer from Hype-Nitis.

I have gleefully collected a small sample of these gems on HackerNews over the past couple of years:

atrociously bad
crucially important
astonishingly successful
growingly wants…