DukeScript
From APIDesign
(→Deployment) |
|||
Line 5: | Line 5: | ||
[[DukeScript]] is a set of [[API]]s that allows [[Java]] applications easily talk to [[JavaScript]] environment to (usually) animate an [[HTML]] page. The core libraries are developed as part of the [[netbeans:Html4Java|NetBeans Project]], but there are also additional libraries that play well in the overall [[DukeScript]] ecosystem (for example [[Toni]] is working on a canvas painting library). | [[DukeScript]] is a set of [[API]]s that allows [[Java]] applications easily talk to [[JavaScript]] environment to (usually) animate an [[HTML]] page. The core libraries are developed as part of the [[netbeans:Html4Java|NetBeans Project]], but there are also additional libraries that play well in the overall [[DukeScript]] ecosystem (for example [[Toni]] is working on a canvas painting library). | ||
- | == Deployment == | + | == Deployment Vision == |
- | The [[DukeScript]] vision is to ''write once, display anywhere'' and to deliver on this promise, there are various ways to package and deploy a [[DukeScript]] application. | + | The [[DukeScript]] vision is to ''write once, display anywhere'' and to deliver on this promise, there are various ways to package and deploy a [[DukeScript]] application. |
There is the [[DlvkBrwsr]] for [[Android]] devices. [[I]] wrote a [[Bck2Brwsr]] [[VM]] that allows to run [[Java]] in a plugin-less browsers. There is a way to package the application to run in [[HTML|NetBeans and Eclipse]] (like the [[MineSweeper]] example shows) and recently Alexey adopted his [[TeaVM]] to understand [[DukeScript]] as well. | There is the [[DlvkBrwsr]] for [[Android]] devices. [[I]] wrote a [[Bck2Brwsr]] [[VM]] that allows to run [[Java]] in a plugin-less browsers. There is a way to package the application to run in [[HTML|NetBeans and Eclipse]] (like the [[MineSweeper]] example shows) and recently Alexey adopted his [[TeaVM]] to understand [[DukeScript]] as well. | ||
- | [[DukeScript]] is the [[wikipedia:Lingua_franca|lingua franca]] when your [[Java]] needs to talk to [[JavaScript]] environment! | + | [[DukeScript]] is the [[wikipedia:Lingua_franca|lingua franca]] when your [[Java]] needs to talk to [[JavaScript]] environment! |
+ | |||
+ | Everything can be controlled from a command line using [[Maven]], but there is a [[DukeScriptInNetBeans|NetBeans wizard]] that makes everything easier. | ||
+ | |||
+ | == [[DukeScriptInNetBeans|Getting Started]] with [[DukeScript]] == | ||
+ | |||
+ | {{:DukeScriptInNetBeans}} | ||
[[Category:Video]] | [[Category:Video]] |
Revision as of 10:12, 18 June 2014
DukeScript's motto: We are the Java in Javascript! Or: The JavaScript it was meant to be.
DukeScript is a set of APIs that allows Java applications easily talk to JavaScript environment to (usually) animate an HTML page. The core libraries are developed as part of the NetBeans Project, but there are also additional libraries that play well in the overall DukeScript ecosystem (for example Toni is working on a canvas painting library).
Deployment Vision
The DukeScript vision is to write once, display anywhere and to deliver on this promise, there are various ways to package and deploy a DukeScript application.
There is the DlvkBrwsr for Android devices. I wrote a Bck2Brwsr VM that allows to run Java in a plugin-less browsers. There is a way to package the application to run in NetBeans and Eclipse (like the MineSweeper example shows) and recently Alexey adopted his TeaVM to understand DukeScript as well.
DukeScript is the lingua franca when your Java needs to talk to JavaScript environment!
Everything can be controlled from a command line using Maven, but there is a NetBeans wizard that makes everything easier.
Getting Started with DukeScript
Client Java everywhere is now possible thanks to essential part of DukeScript - its capability to deploy to almost any device on the planet (that can render HTML). One can configure everything in an IDE independent way, but the best way to start is to get your instance of NetBeans 8.0 and follow few easy steps described in the official DukeScript getting started document.