Below we will describe how you can create the
jnlp examples for Marvin Beans.
First, take a brief view of the content of the
msketch.jnlp.txt - Template for a simple MarvinSketch
mview.jnlp.txt - Template for a simple MarvinView
msketch64.gif - Icon to the MarvinSketch
mview64.gif - Icon to the MarvinView
Step-by-step instructions are provided for configuring the above examples for running.
First, you need a webserver (for example, Tomcat) that will hosts the
Install Marvin Beans package to the host where the webserver is located.
Check that the webserver can access Marvin Beans directory. (If not, please consult with the web server's manual about how to set it.)
In the jnlp subdirectory of the Marvin Beans directory, take a copy about each file that ends with .jnlp.txt . The new name has to be the same as the old one without the .txt postfix.
cp msketch.jnlp.txt msketch.jnlp cp mview.jnlp.txt mview.jnlp
Modify the absolute references in the
jnlp files. Each occurrence of
substitute to the URL of the Marvin Beans directory. (for example,
Now the configuration is ready (on server-side). To run the example, type the URL of the
jnlp example in your browser.