See JavaOne 2012 slides for Deploy Your Application with OpenJDK 7 on Mac OS X and future version of JavaFX Deployment Guide for more details.The speakers, both from Oracle, were Mark Howe and Igor Nekrestyanov.By deprecating redundant (especially older) approaches, they dont have to spend as much time supporting and fixing bugs on these seldom used things.In general, anything being deprecated andor removed has alternatives and folks using the deprecatedremoved features should start looking at which alternative works best for them.
Javafx Self Contained Application Packaging Mac OS X And FutureOracles intention is to fix bugs and add features across JVMs for all deployment environments at the same time. Javafx Self Contained Application Packaging Update The JREOne change is to be more aligned with Oracles JVM support for other platforms and have Oracles updated update the JRE on Mac OS X rather than using the Mac Software Update. One caveat is that Chrome on Mac is currently unsupported (32-bit only). Howes Convergence of Java and JavaFX slide showed a table indicating the progress of converging Java and JavaFX versions. The goal is for JavaFX to be one of the core libraries in the Java specification. Plans for JDK 8 include Java launcher able to run JavaFX applications and jfxrt.jar on boot classpath for java and javac. He contrasted deployJava.js (original version) with dtjava.js (better JavaFX support and portability). The dtjava.js version supports all deployment scenarios on all platforms though there is no autostart on Mac or Linux. He contrasted this with use of dtjava.js that allows developer to set parameters for control of launching from JavaScript. Javafx Self Contained Application Packaging Code Shown InThe code shown in a slide for using dtjava.launch requires JRE 7 Update 6 or later. The command-line tool binjavfxpackager (or set of Ant tasks libant-javafx.jar) can be used with JDK 7 Update 6. A self-contained applications contains all the artifacts necessary to run your application. It has a private copy of the Java runtime and removes the dependency on the external JRE. Many of the motivations for self-contained applications revolved around issues of acquiring a current JRE to run the application. ![]() Howe showed a slide with Ant code for generating the self-contained application. ![]() The Developer Preview is expected to be available with JRE 7 Update 10. JDK 7 Update 10 is also anticipated to support Mac App Store support. In this case, the deployment team would like to know what people want and need for more effective web deployment of Java applications. ![]() Other requirements include need for application to run in a sandbox and follow UI guidelines.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |