Enterprise Manager: Web > JNLP Configuration > Applications

Description

Note: As of BBj 19.20, this feature is superseded by Desktop Apps. See EM: Web - App Deployment.

The JNLP application editor provides the ability to configure a BBj Thin Client application to be run as a Java Web Start application. Web Start makes it possible for users of the application to simply click on a launch link located on a web page to install and launch the application. This makes it very easy to deploy a thin client BBj application.

Creating an Application Configuration

It is simple to get a BBj application configured to run using JNLP.

  1. Using the Enterprise Manager Navigator tree, double-click on the Web > JNLP Configuration > Applications node to open the JNLP Applications list.
  2. Click on the button to add a new application configuration.
  3. Begin with the “Application” tab.

    1. Specify an “Application Name”.

    2. Specify a “Configuration File” (config.bbx) for the application.

  1. In the “Program and Arguments” field,
  1. Specify the BBj program to be run and any command line arguments to be passed into the program.

  2. Specify program name and arguments separated by spaces: myapp.bbj -arg1 -another

  1. Switch to the “Info/Resources” tab.

  1. Expand the “Information Sections” node, click on “<default>”, and specify a “Title” for the application and optional “Vendor”, “Homepage”, descriptions, etc.

  2. Right-click on “<default>” and select “Add Icon” to optionally add one or more icons for the application configuration.

  3. Under the “Resources Sections” node, optionally right click on “<default>” or any of the specific operating system nodes to add additional JARs and native libraries that pertain to the application if necessary.

  4. Click the [Save] button to save your changes.

  5. Notice a new entry on the JNLP Applications list now that the application is configured. In the list you will see the URL necessary to launch the JNLP application configuration from a browser.

  6. Click on the button to launch the JNLP application configuration.

.jnlp Tab

The “.jnlp” tab shows the XML code that makes up the JNLP configuration based on the application settings on the “Application” and “Info/Resources” tabs. The JNLP code can be edited here manually and changes are propagated to the other tabs. While not typically recommended, this provides for even further advanced configuration of the JNLP file.