Java Everywhere: Write Once run Anywhere with DukeScript by Anton Epple
Author:Anton Epple
Language: eng
Format: azw3
Published: 2015-12-27T16:00:00+00:00
Set up the project
Let’s get started following the same way we start with regular HTML UI based DukeScript application. Follow the approach from Chapter 1 if you are OK with using NetBeans. If you want to stay on command line you can use:
1 $ mvn archetype:generate 2 -DarchetypeGroupId=com.dukescript.archetype 3 -DarchetypeArtifactId=knockout4j-archetype 4 -DarchetypeVersion=0.10 5 -Dexample=false
Once our application is generated, we can start modifying the sample application to avoid displaying the UI, but rather parsing our JSON file. Let’s remove:
“src/main/webapp/pages/index.html” - no UI definitions
“src/main/java/your/pkg/DataModel.java” - no UI model
“src/test” - we don’t need tests for this simple sample
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6541)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6429)
Kotlin in Action by Dmitry Jemerov(5077)
Odoo 15 Development Essentials - Fifth Edition by Daniel Reis & Greg Mader(3417)
Odoo 15 Development Essentials by Daniel Reis(2822)
React Native - Building Mobile Apps with JavaScript by Novick Vladimir(2540)
Learning Angular - Second Edition by Christoffer Noring(2366)
Pride and Prejudice by Jane Austen(2355)
Mobile Forensics Cookbook by Igor Mikhaylov(2027)
Computers For Seniors For Dummies by Nancy C. Muir(2013)
Bulletproof Android: Practical Advice for Building Secure Apps (Developer's Library) by Godfrey Nolan(1878)
Android Development with Kotlin by Marcin Moskala & Igor Wojda(1807)
Building Android UIs with Custom Views by Raimon Ràfols Montané(1797)
1936941139 (N) by Bob Rosenthal(1741)
Building Progressive Web Apps: Bringing the Power of Native to the Browser by Ater Tal(1734)
Android App Development by Franceschi Hervé J.;(1719)
Hands-On Internet of Things with MQTT by Tim Pulver(1718)
Ember.js in Action by Joachim Haagen Skeie(1696)
Hands-On Design Patterns with React Native by Mateusz Grzesiukiewicz(1660)
