March 4, 2010 4 Comments
I would like to highlight two import features in java deployment – Deployment Toolkit and Download-Service (available in Java 1.6.0_18). There is an excellent article on Deploying RIAs in Mixed Environments. This will help in understanding and resolving many of Java/JavaFX deployment issues. JavaFX deployment script – dtfx.js – already does lot of these checking. But these APIs will enable further customization related to JRE-Version, OS, Browser etc.
DownloadService provides APIs to query user cache. This can be used to request and update resources required by your application. It may be used to query existence of JavaFX runtime extension in cache. Sometimes this runtime is cached in “system” cache, and hence it may not be possible to query using this API. Please refer to DownloadServiceApplet.java and DownloadService.html for more information on usage. Entire list of JNLP Service APIs is available here. Refer to “Deployment” section in JavaFX Tutorials for more information..
Please try it out and let me know feedback..