This diagram explains the flow of the build process for JavaFX applications. JavaFX applications and preloaders are packaged into separate JAR archives, and so are represented separately in the diagram, but the flow is the same.
Main applications and preloaders consist of source code, stylesheets, and other resources. Source code must be compiled, and stylesheets can optionally be converted to binary format. The source code, stylesheets, and other resources are combined to create a JAR archive, which can optionally be signed and have a certificate attached. For web applications, a deployment descriptor (JNLP file) is prepared to produce the final package, consisting of one or more executable JAR files, the deployment descriptor, and a web page with the embedded application or a link to launch a Web Start application. To produce the web page, it is possible to use an input template with variables.