JaroslavTulach at 10:23, 24 March 2015 - 2015-03-24 10:23:54

←Older revision Revision as of 10:23, 24 March 2015
Line 1: Line 1:
-
[[DukeScriptInNetBeans|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]] [https://dukescript.com/getting_started.html getting started document].
+
[[DukeScriptInNetBeans|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 [https://dukescript.com/update/2015/02/05/New-Version-of-Dukescript.html 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]] [https://dukescript.com/getting_started.html getting started document].

JaroslavTulach at 10:21, 24 March 2015 - 2015-03-24 10:21:26

←Older revision Revision as of 10:21, 24 March 2015
Line 1: Line 1:
-
[[DukeScriptInNetBeans|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 as described in the official [[DukeScript]] [https://dukescript.com/getting_started.html getting started document].
+
[[DukeScriptInNetBeans|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]] [https://dukescript.com/getting_started.html getting started document].

JaroslavTulach at 10:20, 24 March 2015 - 2015-03-24 10:20:57

←Older revision Revision as of 10:20, 24 March 2015
Line 1: Line 1:
-
[[DukeScriptInNetBeans|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:
+
[[DukeScriptInNetBeans|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 as described in the official [[DukeScript]] [https://dukescript.com/getting_started.html getting started document].
-
 
+
-
===== Install the Plugin =====
+
-
 
+
-
Go to Tools/Plugins, refresh the catalog, select available plugins tab and install ''HTML/Java Project Support''.
+
-
 
+
-
[[Image:Duke4nb-01-install.png]]
+
-
 
+
-
===== Create New Project =====
+
-
 
+
-
Now create new project. There are multiple prepared versions of the project in the [[NetBeans]] project templates tree, but the most generic one is ''HTML5 with Java Application Logic''.
+
-
 
+
-
[[Image:Duke4nb-02-project.png]]
+
-
 
+
-
After seeking a wizard step with project description and easy access to [http://bits.netbeans.org/html+java/ essential documentation] you need to specify the location where to create your project, the starting template to use and then you need to decide few important questions.
+
-
 
+
-
===== Deploy to [[Android]]? =====
+
-
 
+
-
[[Image:Duke4nb-03-dlvkbrwsr.png]]
+
-
 
+
-
If you want to deploy to [[Android]], you need the [[Google]]'s SDK installed and you need to point your build or IDE to its location. Either via a property, or inside of global ''settings.xml'' file.
+
-
 
+
-
===== Deploy to [[iOS]]? =====
+
-
 
+
-
[[Image:Duke4nb-04-ibrwsr.png]]
+
-
 
+
-
To deploy to iPhone or iPad you need to be running on Mac.
+
-
 
+
-
===== Deploy to Any Browser? =====
+
-
 
+
-
Thanks to [[Bck2Brwsr]] project, it is easy to package your application to run inside of any modern browser (even without [[Java]] plugin installed).
+
-
 
+
-
[[Image:Duke4nb-05-bck2brwsr.png]]
+
-
 
+
-
===== Create a [[NetBeans]] Extension? =====
+
-
 
+
-
Why not package your application for [[NetBeans]] users when you don't have to change a single line of code?
+
-
 
+
-
[[Image:Duke4nb-06-nbrwsr.png]]
+
-
 
+
-
After this step just press ''Finish'' and wait for [[Maven]] to download necessary libraries.
+
-
 
+
-
===== Edit/Compile/Debug/Inspect Cycle =====
+
-
 
+
-
Once the project is generated you can ''debug'' it. Then [[Debugger|debugging]] of your [[Java]] code is enabled and you can hit breakpoints, evaluate watches, do step into or over, inspect the stack (right bottom side of the picture).
+
-
 
+
-
Together with with that an [[HTML]] DOM browser (left bottom corner) is enabled that allows you to inspect your [[HTML]] page as you are probably used to from [[Firefox]] and [[Chrome]] (including selection mode). From here you can easily navigate to [[CSS]] styles inspector and also into the source code.
+
-
 
+
-
[[Image:Duke4nb-07-develop.png]]
+
-
 
+
-
Development of [[Java]] client [[HTML]] applications has never been easier.
+
-
 
+
-
===== Deployment =====
+
-
 
+
-
When you are happy with your application you can package it to one of the target platforms by using ''Custom'' submenu:
+
-
 
+
-
[[Image:Duke4nb-08-deploy.png]]
+
-
 
+
-
Enjoy ''writing once and displaying everywhere'' with [[Java]]!
+

JaroslavTulach: /* Deployment */ - 2014-07-17 08:04:41

Deployment

←Older revision Revision as of 08:04, 17 July 2014
Line 57: Line 57:
[[Image:Duke4nb-08-deploy.png]]
[[Image:Duke4nb-08-deploy.png]]
-
Enjoy ''writing once and deploying everywhere'' with [[Java]]!
+
Enjoy ''writing once and displaying everywhere'' with [[Java]]!

JaroslavTulach: /* Edit/Compile/Debug/Inspect Cycle */ - 2014-07-15 07:29:33

Edit/Compile/Debug/Inspect Cycle

←Older revision Revision as of 07:29, 15 July 2014
Line 49: Line 49:
[[Image:Duke4nb-07-develop.png]]
[[Image:Duke4nb-07-develop.png]]
-
Development of [[Java]] client [[HTML]] applications has never been easiers.
+
Development of [[Java]] client [[HTML]] applications has never been easier.
===== Deployment =====
===== Deployment =====

JaroslavTulach at 11:09, 18 June 2014 - 2014-06-18 11:09:18

←Older revision Revision as of 11:09, 18 June 2014
Line 1: Line 1:
[[DukeScriptInNetBeans|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:
[[DukeScriptInNetBeans|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:
-
==== Install the Plugin ====
+
===== Install the Plugin =====
Go to Tools/Plugins, refresh the catalog, select available plugins tab and install ''HTML/Java Project Support''.
Go to Tools/Plugins, refresh the catalog, select available plugins tab and install ''HTML/Java Project Support''.
Line 7: Line 7:
[[Image:Duke4nb-01-install.png]]
[[Image:Duke4nb-01-install.png]]
-
==== Create New Project ====
+
===== Create New Project =====
Now create new project. There are multiple prepared versions of the project in the [[NetBeans]] project templates tree, but the most generic one is ''HTML5 with Java Application Logic''.
Now create new project. There are multiple prepared versions of the project in the [[NetBeans]] project templates tree, but the most generic one is ''HTML5 with Java Application Logic''.
Line 15: Line 15:
After seeking a wizard step with project description and easy access to [http://bits.netbeans.org/html+java/ essential documentation] you need to specify the location where to create your project, the starting template to use and then you need to decide few important questions.
After seeking a wizard step with project description and easy access to [http://bits.netbeans.org/html+java/ essential documentation] you need to specify the location where to create your project, the starting template to use and then you need to decide few important questions.
-
==== Deploy to [[Android]]? ====
+
===== Deploy to [[Android]]? =====
[[Image:Duke4nb-03-dlvkbrwsr.png]]
[[Image:Duke4nb-03-dlvkbrwsr.png]]
Line 21: Line 21:
If you want to deploy to [[Android]], you need the [[Google]]'s SDK installed and you need to point your build or IDE to its location. Either via a property, or inside of global ''settings.xml'' file.
If you want to deploy to [[Android]], you need the [[Google]]'s SDK installed and you need to point your build or IDE to its location. Either via a property, or inside of global ''settings.xml'' file.
-
==== Deploy to [[iOS]]? ====
+
===== Deploy to [[iOS]]? =====
[[Image:Duke4nb-04-ibrwsr.png]]
[[Image:Duke4nb-04-ibrwsr.png]]
Line 27: Line 27:
To deploy to iPhone or iPad you need to be running on Mac.
To deploy to iPhone or iPad you need to be running on Mac.
-
==== Deploy to Any Browser? ====
+
===== Deploy to Any Browser? =====
Thanks to [[Bck2Brwsr]] project, it is easy to package your application to run inside of any modern browser (even without [[Java]] plugin installed).
Thanks to [[Bck2Brwsr]] project, it is easy to package your application to run inside of any modern browser (even without [[Java]] plugin installed).
Line 33: Line 33:
[[Image:Duke4nb-05-bck2brwsr.png]]
[[Image:Duke4nb-05-bck2brwsr.png]]
-
==== Create a [[NetBeans]] Extension? ====
+
===== Create a [[NetBeans]] Extension? =====
Why not package your application for [[NetBeans]] users when you don't have to change a single line of code?
Why not package your application for [[NetBeans]] users when you don't have to change a single line of code?
Line 41: Line 41:
After this step just press ''Finish'' and wait for [[Maven]] to download necessary libraries.
After this step just press ''Finish'' and wait for [[Maven]] to download necessary libraries.
-
==== Edit/Compile/Debug/Inspect Cycle ====
+
===== Edit/Compile/Debug/Inspect Cycle =====
Once the project is generated you can ''debug'' it. Then [[Debugger|debugging]] of your [[Java]] code is enabled and you can hit breakpoints, evaluate watches, do step into or over, inspect the stack (right bottom side of the picture).
Once the project is generated you can ''debug'' it. Then [[Debugger|debugging]] of your [[Java]] code is enabled and you can hit breakpoints, evaluate watches, do step into or over, inspect the stack (right bottom side of the picture).
Line 51: Line 51:
Development of [[Java]] client [[HTML]] applications has never been easiers.
Development of [[Java]] client [[HTML]] applications has never been easiers.
-
==== Deployment ====
+
===== Deployment =====
When you are happy with your application you can package it to one of the target platforms by using ''Custom'' submenu:
When you are happy with your application you can package it to one of the target platforms by using ''Custom'' submenu:

JaroslavTulach at 11:08, 18 June 2014 - 2014-06-18 11:08:10

←Older revision Revision as of 11:08, 18 June 2014
Line 1: Line 1:
-
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:
+
[[DukeScriptInNetBeans|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:
==== Install the Plugin ====
==== Install the Plugin ====

JaroslavTulach at 11:04, 18 June 2014 - 2014-06-18 11:04:49

←Older revision Revision as of 11:04, 18 June 2014
Line 1: Line 1:
-
Essential part of [[DukeScript]] is its capability to deploy to almost any device on the planet (that can render [[HTML]]). One can configure everything in a IDE independent way, but the best way is to get your instance of [[NetBeans]] 8.0 and follow few easy steps:
+
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:
==== Install the Plugin ====
==== Install the Plugin ====

JaroslavTulach: /* Deployment */ - 2014-06-18 11:02:26

Deployment

←Older revision Revision as of 11:02, 18 June 2014
Line 54: Line 54:
When you are happy with your application you can package it to one of the target platforms by using ''Custom'' submenu:
When you are happy with your application you can package it to one of the target platforms by using ''Custom'' submenu:
 +
 +
[[Image:Duke4nb-08-deploy.png]]
 +
 +
Enjoy ''writing once and deploying everywhere'' with [[Java]]!

JaroslavTulach: /* Create a NetBeans Extension? */ - 2014-06-18 10:59:24

Create a NetBeans Extension?

←Older revision Revision as of 10:59, 18 June 2014
Line 38: Line 38:
[[Image:Duke4nb-06-nbrwsr.png]]
[[Image:Duke4nb-06-nbrwsr.png]]
 +
 +
After this step just press ''Finish'' and wait for [[Maven]] to download necessary libraries.
 +
 +
==== Edit/Compile/Debug/Inspect Cycle ====
 +
 +
Once the project is generated you can ''debug'' it. Then [[Debugger|debugging]] of your [[Java]] code is enabled and you can hit breakpoints, evaluate watches, do step into or over, inspect the stack (right bottom side of the picture).
 +
 +
Together with with that an [[HTML]] DOM browser (left bottom corner) is enabled that allows you to inspect your [[HTML]] page as you are probably used to from [[Firefox]] and [[Chrome]] (including selection mode). From here you can easily navigate to [[CSS]] styles inspector and also into the source code.
 +
 +
[[Image:Duke4nb-07-develop.png]]
 +
 +
Development of [[Java]] client [[HTML]] applications has never been easiers.
 +
 +
==== Deployment ====
 +
 +
When you are happy with your application you can package it to one of the target platforms by using ''Custom'' submenu: