ptolemy.copernicus.applet
Class JNLPApplication

java.lang.Object
  extended by ptolemy.copernicus.applet.JNLPApplication

public class JNLPApplication
extends java.lang.Object

A wrapper class that calls eventually calls ptolemy.actor.gui.PtExecuteApplication for use with Java Network Launching Protocol (JNLP) aka Web Start.

Note that under Web Start, it is easiest if each application needs to have its own class and jar file containing the application class file.

In Web Start 1.0.1, it is necessary to sign the application if it is to have access to the local disk etc. The way that this is handled is that the .jnlp file that defines the application is copied to the .jar file that defines the main() method for the application and the .jar file is signed. Unfortunately, this means that two Web Start applications cannot share one jar file, so we create these wrapper classes that call the appropriate main class.

For more information about JNLP, see $PTII/mk/jnlp.in.

Since:
Ptolemy II 4.0
Version:
$Id: JNLPApplication.java,v 1.18.4.1 2008/03/25 22:32:28 cxh Exp $
Author:
Christopher Hylands
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Constructor Summary
JNLPApplication()
           
 
Method Summary
static void main(java.lang.String[] args)
          Execute one or more models.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNLPApplication

public JNLPApplication()
Method Detail

main

public static void main(java.lang.String[] args)
Execute one or more models.

Parameters:
args - The arguments to pass to PtExecuteApplication. Typically the argument names a MoML file.