Deploy A Rich Internet Application Developed With JavaFX Technology

This document guides you through the steps of using NetBeans IDE for JavaFX to prepare a JavaFX application for execution and deployment outside of the IDE.

Overview

The goal of this tutorial is to show you how to create a distributable JavaFX application that uses the NetBeans IDE. The IDE provides a dialog interface to the javafxpackager tool that is bundled with the JavaFX SDK installation. The tool provides the means to package for deployment the files that comprise a JavaFX application. You will configure a sample JavaFX application to execute as an applet, a desktop application, or a mobile application by choosing one of the four execution models available:

  • Standard Execution. Run as a stand-alone desktop application by using the standard javafx execution command. This is the default selection.
  • Web Start Execution. Run as a stand-alone desktop application by using Java Web Start technology.
  • Run in Browser. Run as an applet-based desktop application within a local web browser.
  • Run in Mobile Emulator. Run as a MIDlet based mobile application running on the bundled JavaFX Mobile Emulator. This option is currently available on the Microsoft Windows platform only.

This tutorial guides you through configuring the sample application to use each of the execution models, building the necessary files to execute the application, and running the project from within the IDE. It also provides information about how you can execute the application outside of the IDE and offline from network connection.

If you prefer to use the command line instead of the IDE to package the files that are necessary to deploy your application, refer to the javafxpackager.html document that is located in <javafx-sdk-install-dir>/docs folder.

Tutorial Requirements

Before you continue with this tutorial, ensure that you have either NetBeans IDE for JavaFX installed on your system or that you have added the JavaFX Plugin to your existing NetBeans IDE installation. Refer to What to Download for more information.

 

English
日本語
한국어
简体中文
русский
Português do Brasil