So I have a 开发者_如何学Pythonjar file created by Netbeans.
I would like to deploy it as a web start application but don't know how to procede.
If it's a application project in NetBeans, you can right-click on the project and choose "Build JNLP", and then you get a war-file you can deploy in an application server.
If not, you can create your own JNLP-file:
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://something.com/foobar" href="foobar.jnlp">
<information>
<title>Foo Bar</title>
<description>hello</description>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>
<jar href="foobar.jar" />
</resources>
<application-desc main-class="foo.bar.MainClass" />
and deploy the JNLP and the (signed) jar-file.
See how to deploy a JNLP application.
Java Web Start Developer Guide should get you started.
Follow this step by step instructions to distribute your application vis Java Web Start: Distribute your Swing application via Java Web Start
精彩评论