Java Platform, Standard Edition Deployment Guide
Next
Contents
Title and Copyright Information
Preface
1 What's New
- 1.1 Enhancements in JDK 8u40
- 1.2 Enhancement in JDK 8u31
- 1.3 Enhancements in JDK 8u20
- 1.4 Enhancements in JDK 8u11
- 1.5 Enhancements in JDK 8u5
- 1.6 Enhancements in JDK 8
Part I Deployment Basics
2 Getting Started
- 2.1 Basic Steps
- 2.2 Choose the Execution Environment
- 2.3 Create the Package
- 2.4 Create the Web Page
- 2.5 Distribute Your Application
- 2.6 Beyond the Basics
3 Application Execution Modes
4 Application Startup
- 4.1 User Experience Considerations
- 4.2 Application Startup Process, Experience, and Customization
- 4.3 Helping Users Start the Application
Part II Packaging
5 Packaging Basics
- 5.1 Java Packaging Overview
- 5.2 Base Application Package
- 5.3 Overview of Packaging Tasks
- 5.4 Style Sheet Conversion
- 5.5 Create the Main Application JAR File
- 5.6 Sign the JAR Files
- 5.7 Run the Deploy Task or Command
- 5.8 Packaging Cookbook
- 5.9 Performance Tuning for Web Deployment
6 JavaFX in Swing Applications
7 Self-Contained Application Packaging
- 7.1 Introduction
- 7.2 Benefits and Drawbacks of Self-Contained Application Packages
- 7.3 Basics
- 7.3.1 Self-Contained Application Structure
- 7.3.2 Basic Build
- 7.3.3 Customizing the Package Using Drop-In Resources
- 7.3.4 Customization Options
- 7.3.5 Platform-Specific Customization for Basic Packages
- 7.3.6 Passing Arguments to a Self-Contained Application
- 7.3.7 Associating Files with a Self-Contained Application
- 7.3.8 Supporting Multiple Entry Points
- 7.4 Installable Packages
- 7.5 Working Through a Deployment Scenario
8 Packaging for Distribution on a Mac
9 The Java Packager Tool
10 JavaFX Ant Tasks
- 10.1 Requirements to Run JavaFX Ant Tasks
- 10.2 JavaFX Ant Elements
- 10.3 Using JavaFX Ant Tasks
- 10.4 Ant Script Examples
- JavaFX Ant Task Reference
- JavaFX Ant Helper Parameter Reference
Part III Development
11 Java Rich Internet Applications
- 11.1 About Java RIAs
- 11.2 Rich Internet Applications Decision Guide
- 11.3 Rich Internet Applications Deployment Advice
- 11.4 Properties That Affect the Behavior of Rich Internet Applications
12 Applet Development Guide
- 12.1 Overview
- 12.2 Java Plug-In and Applet Architecture
- 12.3 Applet Deployment Parameters
- 12.4 Applet Status And Event Handlers
- 12.5 Migrating Java Applets to the Java Network Launching Protocol
13 Preloaders for JavaFX Applications
- 13.1 Implementing a Custom Preloader
- 13.2 Packaging an Application with a Preloader
- 13.3 Preloader Code Examples
- 13.3.1 Show the Preloader Only if Needed
- 13.3.2 Enhance Visual Transitions
- 13.3.3 Using JavaScript with a Preloader
- 13.3.4 Using a Preloader to Display the Application Initialization Progress
- 13.3.5 Cooperation of Preloader and Application: A Login Preloader
- 13.3.6 Cooperation of Preloader and Application: Sharing the Stage
- 13.3.7 Customizing Error Messaging
- 13.4 Performance Tips
14 Customizing the Loading Experience
- 14.1 The RIA Loading Experience
- 14.2 The RIA Loading Process
- 14.3 Customization Options
- 14.3.1 Adding a Splash Screen
- 14.3.2 Implementing a Customized Loading Progress Indicator
- 14.3.3 The javax.jnlp.DownloadServiceListener Interface
- 14.3.4 Constructors of the Loading Progress Indicator Class
- 14.3.5 Methods of the javax.jnlp.DownloadServiceListener Interface
- 14.3.6 Specifying the Custom Progress Indicator in the JNLP File
- 14.3.7 How the RIA Software Communicates Progress
- 14.4 Best Practices and Tips
15 Customizing JVM Options in Self-Contained Applications
- 15.1 Overview of the UserJvmOptionsService API
- 15.2 Using the UserJvmOptionsService API to Customize JVM Options
16 Java and JavaScript
- 16.1 Accessing an Application from a Web Page
- 16.2 Accessing the Host Web Page from a Java Applet
- 16.3 Accessing the Host Web Page from an Embedded JavaFX Application
- 16.4 Advanced topics
- 16.5 Threading
- 16.6 Security
- 16.7 Tab Pane Example
17 Signed JNLP Files
18 Coding Tips
- 18.1 Detecting Embedded Applications
- 18.2 Accessing Application Parameters
- 18.3 Using JavaFX Host Services
- 18.4 Loading Resources
- 18.5 Managing the Stage Size of JavaFX Applications
19 Deployment in the Browser
- 19.1 API Overview
- 19.2 Callbacks
- 19.3 Examples
- 19.3.1 Embedded Application Starts After the DOM Tree Is Constructed
- 19.3.2 Launch a Web Start Application from a Web Page
- 19.3.3 Pass Parameters to a Web Application
- 19.3.4 Specify Platform Requirements and Pass JVM Options
- 19.3.5 Access Your Code from JavaScript
- 19.3.6 Disable the HTML Splash Screen
- 19.3.7 Add a Custom HTML Splash Screen
- 19.3.8 Create a Handler for an Unsupported Platform
- 19.3.9 Check for Presence of JavaFX Runtime
Part IV Configuring and Monitoring Deployment
20 Java Control Panel
- 20.1 General
- 20.2 Update
- 20.3 Java
- 20.4 Security
- 20.5 Advanced
- 20.5.1 Debugging
- 20.5.2 Java Console
- 20.5.3 Default Java for Browsers
- 20.5.4 Shortcut Creation
- 20.5.5 JNLP File/MIME Association
- 20.5.6 Application Installation
- 20.5.7 Secure Execution Environment
- 20.5.8 Mixed code (sandboxed vs. trusted) security verification
- 20.5.9 Perform certificate revocation checks on
- 20.5.10 Check for certificate revocation using
- 20.5.11 Advanced Security Settings
- 20.5.12 Miscellaneous
- 20.5.13 Command to launch default browser (Solaris, Linux, or OS X only)
21 Deployment Configuration File and Properties
- 21.1 Deployment Configuration File
(deployment.properties)
- 21.2 Deployment Configuration Properties
- 21.2.1 Infrastructure
- 21.2.2 Certificate stores and policy files
- 21.2.3 Security Access And Control Settings
- 21.2.4 Networking
- 21.2.5 Cache and Optional Package Repository
- 21.2.6 Java Console
- 21.2.7 Tracing and Logging
- 21.2.8 Java Web Start
- 21.2.9 Browser Selection and Path
- 21.2.10 Check for update Timeout
- 21.2.11 SSLv3 is disabled by default
22 Java Console, Tracing, and Logging
Part V Security
23 Setting the Security Level of the Java Client
- 23.1 Setting the Security Level of the Java Client
- 23.2 Policy Files and Permissions
- 23.3 Property Files and Certificates
- 23.4 Browser Keystores
- 23.5 Security Dialogs
- 23.6 Warning Banner
- 23.7 More Information
24 Rich Internet Application Deployment Process
- 24.1 Overview of the Process
- 24.2 Plug-in Processing
- 24.3 Rules Processing
- 24.4 JRE Status
- 24.5 Digital Signature
- 24.6 Security Prompts
25 Working with Signed RIAs
26 JAR File Manifest Attributes for Security
- 26.1 Permissions Attribute
- 26.2 Codebase Attribute
- 26.3 Application-Name Attribute
- 26.4 Application-Library-Allowable-Codebase Attribute
- 26.5 Caller-Allowable-Codebase Attribute
- 26.6 Entry-Point Attribute
- 26.7 Trusted-Only Attribute
- 26.8 Trusted-Library Attribute
- 26.9 Preventing RIAs from Being Repurposed
- 26.10 Additional Information
27 Mixing Privileged Code and Sandbox Code
- 27.1 Mixed Code Protection Options for Users
- 27.2 Deploying Privileged Applications and Applets Securely Without a Mixed Code Warning
- 27.3 Mixed Code FAQ
- 27.4 For More Information
28 Deployment Rule Set
- 28.1 Create the Rule Set
- 28.2 Package and Install the Rule Set
- 28.3 Security Considerations
- 28.4 Examples
- 28.5 Java Deployment Rule Set DTD
29 Exception Site List
Part VI Reference
30 Networking
- 30.1 Proxy Configuration
- 30.2 Deploying JAR Files Compressed with Pack200
- 30.3 Compression Formats for Network Deployment
31 Codebase Determination
32 Other Deployment Features
- 32.1 Protocol Support
- 32.2 Multi-Version Support
- 32.3 System-Wide Repository (Windows only)
- 32.4 Applet Persistence API
- 32.5 Special Applet Attributes
33 Troubleshooting
34 Java Rich Internet Applications Enhancements in JDK 7
- 34.1 Enhancements in JDK 7 Update 51
- 34.2 Enhancements in JDK 7 Update 45
- 34.3 Enhancements in JDK 7 Update 40
- 34.4 Enhancements in JDK 7 Update 25
- 34.5 Enhancements in JDK 7 Update 21
- 34.6 Enhancements in JDK 7 Update 10
- 34.7 Enhancements in JDK 7 Update 6
- 34.8 Enhancements in JDK 7 Update 2
- 34.9 Enhancements in Java SE 7