Book Image

JavaFX Essentials

By : Mohamed Taman, Mohamed Taman
Book Image

JavaFX Essentials

By: Mohamed Taman, Mohamed Taman

Overview of this book

Table of Contents (16 chapters)
JavaFX Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
7
Monitoring and Controlling Arduino with JavaFX
Index

Why port JavaFX into the mobile environment?


Why port JavaFX into the mobile environment? Isn't it Write Once Run Anywhere (WORA)? This is a very good question to ask. Any Java application follows the WORA paradigm, but with a very critical abstract piece of software that it relies on to run and is called Java Virtual Machine (JVM).

JVM is the software responsible for translating the compiled byte code (.class file) for a specific machine and providing platform instructions that it can understand and run, so you can run your application. Therefore, you will find different versions of JRE or JDK for each hardware (Intel, AMD, SPARC, or ARM) and platform (Windows, Mac, Linux, or Solaris).

On Desktop, Web, or embedded devices, you have to first install the Java Runtime Environment (JRE) to be able to run your Java application. But, for mobile devices, you will notice that you just download your application from the Store, install it, and finally run it without any extra software. Also, some...