Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

DukeScript: Bridging Java to JavaScript

Oracle's NetBeans Platform Architect Jaroslav Tulach discusses how DukeScript will bridge Java with JavaScript in this video.

It's a confounding disconnect of modern Web development that the omnipresent, browser-based scripting language named JavaScript doesn't really have anything to do with the Java programming language from whence it gets its name. But Oracle's NetBeans Platform Architect Jaroslav Tulach is about to change all of that with DukeScript, the exciting bridge between Java and JavaScript that bears the name of Java's beloved mascot, Duke.

"DukeScript is JavaScript as it is meant to be," said Tulach in a JavaOne 2014 interview with TheServerSide. With DukeScript, organizations can create a single code base out of Java that can create programs that can embrace the age-old adage of write once, run anywhere (WORA). Of course, with the diversity of mobile devices and different operating systems that rule the mobile and even desktop market, the WORA promise that Java once promoted has disappeared. "Write once, run anywhere? It isn't true anywhere," said Java consultant and DukeScript advocate Anton Epple, somewhat slyly. "Well, it wasn't true up until DukeScript came along."

So, how does DukeScript work? On a traditional browser, it's seamless. A client interacting with a DukeScript application running in Google Chrome or Mozilla Firefox would not be able to tell. While on Android and iOS, non-browser-based applications written in DukeScript are simply downloaded as normal applications that run on a virtual machine. It's all seamless and easy, and given how lightweight the DukeScript library is compared to other frameworks, developers will no doubt be flocking to it, especially developers who have a passion for programming in Java.

For more information about DukeScript and the renewed promise of being able to write code once and run that code anywhere, take the time to view this interview with Anton Epple and Jaroslav Tulach.​ Check out part two of this video interview.

Dig Deeper on Web application framework and Java middleware

PRO+

Content

Find more PRO+ content and other member only offers, here.

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

I find it strange that they claim write once run everywhere to render HTML, but having something like JSP allows you to output HTML from the server side.  I get that this all runs client side, but I am not sure why that is better for most applications.  Perhaps there is a reason, but I didn't get it from the interview.  Still a very interesting piece of technology.
Cancel

-ADS BY GOOGLE

SearchCloudApplications

SearchSoftwareQuality

SearchFinancialApplications

SearchSAP

SearchManufacturingERP

Close