Hopefully simple newbie question
Hi, I just started using NetBeans 5.5 and Java in general.
I have a created a .jar stand alone program that works fine. I created it from a general project in NetBeans.
I would now like to "deploy" this program via the web somehow so other people can use it. I'm not sure the easiest way to do this (aside form a straight link to a .jar file in a web page).
I saw something about JNLP files, which I don't know much about , but when I looked in the NetBeans help it seemed to suggest that I could right click on my project to have an option to build a JNLP file, but that option doesn't exist (I think I figured out that it had something to do with it only working for module suites possibly, but I don't know what that is at this stage).
So, if JNLP is the easiest way, what is the simplest way for me to create a JNLP that will work? The information on how to do this was a bit confusing for me.
Would trying to turn it into an applet be easier? That seems to involve a lot of recoding since it is currently stand alone.
Thanks for any and all help.
[1098 byte] By [
Kramisa] at [2007-11-26 16:25:17]

# 1
Java Web Start is an application-deployment technology that gives the power to launch full-featured applications with a single click from the Web browser. Java Web Start includes the security features of the Java 2 platform, so the integrity of data and files is never compromised.
By including the following settings in the JNLP file, an application can request full access to a client system if all its JAR files are signed:
<security>
<all-permissions/>
</security>
An example of a JNLP file is as given below
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://name of webpage" href="myapp.jnlp">
<information>
<title>MY Application</title>
<vendor>my name.</vendor>
<homepage href="index.html"/>
<description>name</description>
<description kind="short">shortname</description>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4"/>
<jar href="first.jar"/>
<jar href="second.jar"/>
</resources>
<application-desc main-class="nameofmainclass"/>
</jnlp>
For complete reference to Packaging programs in jar files visit the location as below
http://java.sun.com/docs/books/tutorial/deployment/jar/
For complete documentation on Java WebStart you can visit the location as specified below
http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/contents.html
sabya at 2007-7-8 22:49:19 >
