This talk is for professionals building Java applications for desktop, mobile, and embedded devices in the cloud age. It will help you build enhanced visual experiences and deploy modern, easy-to-maintain client applications across a variety of platforms. These applications can take advantage of the latest user interface components, 3D technology, and cloud services to create immersive visualizations and enable high-value data manipulation. Learn from Stephen Chin, lead author of the definitive Java client reference, how to leverage the latest open-source Java client technologies to build rich, responsive, and modern UIs.
Speaker: Stephen Chin
Bio: Stephen Chin is Senior Director of Developer Relations at JFrog, author of Raspberry Pi with Java, The Definitive Guide to Modern Client Development, and Pro JavaFX Platform. He has keynoted numerous Java conferences around the world including Oracle Code One (formerly JavaOne), where he is an 8-time Rock Star Award recipient. Stephen is an avid motorcyclist who has done evangelism tours in Europe, Japan, and Brazil, interviewing hackers in their natural habitat and posting the videos on http://nighthacking.org/. When he is not traveling, he enjoys teaching kids how to do embedded and robot programming together with his teenage daughter.
21. @steveonjava
https://jfrog.com/shownotes/
PACKAGING JAVAFX APPLICATIONS
• Works, but not recommended:
• ¨FAT JAR¨ – Package all your dependencies and run on command line
• Recommended:
• jlink – Requires modular apps
• jpackage – Available now in Java 14
• New options:
• Native image – Use Graal to create a native application
• OpenWebStart – Open source version of Web Start for modern JDKs by Karakun
25. @steveonjava
https://jfrog.com/shownotes/
JAVAFX ON MOBILE
• Native-image from GraalVM
• OpenJDK 11+ & OpenJFX 11+
• Mac OS X, Linux, iOS, Android
• Gradle/Maven plugins
• IDE Support for IntelliJ, Eclipse, and NetBeans
• https://github.com/gluonhq/client-samples
In JavaFX 3D there are three predefined shapes (Box, Cylinder, and Sphere). You can also create your own user-defined shapes, which consist of a mesh of triangles and a MeshView to be able to view the TriangleMesh.
A technique known as UV mapping is used to map a 2D image onto a 3D shape.
Now that we’ve explored the first feature in JavaFX 3D (mesh geometry), we’ll take a look at other two features mentioned earlier (cameras and lighting). Note to presenter: This demo may be seen by running the FX8-3DAPI project.