Java Web Start Deployment

Hello,

In Netbeans (with Sun Java App Server 9), I am able to deploy a simple "Hello World" Java client to the server and run it using a JNLP but when I try to deploy an application that includes a DatePicker control that is not part of the standard Java 5 SE library, it fails when I attempt to run it with JWS.

How do I add the DatePicker JAR to the project so it will deploy in a way that can be used by my Java SE application? Is there a place in either the app-client, war, ejb, or the overall enterprise application project where I can add the JAR? Since the DatePicker was dragged and dropped into the GUI, I am looking for a way to avoid using the ClassLoader. Is that possible?

Thank you for any help or insight provided,

Rick

[766 byte] By [creative_pragmatica] at [2007-11-26 18:37:45]
# 1
You will have to include the DatePicker.jar in the JNLP fileeg.:<jar href="MyApp.jar" main="true"/><jar href="DatePicker.jar"/>and to provide it on webserver.Bye Schippe
Schippea at 2007-7-9 6:11:49 > top of Java-index,Desktop,Deploying...
# 2

Thank you for your help. I'm not quite there yet because I'm facing other problems deploying on Sun Java System Application Server. I'm not sure which application server libraries are needed to deploy an application client. SJSAS's automated JWS script creation works really well unless you're trying to deploy custom libraries. Also, I guess it will be necessary to sign the JAR files but I'm not sure how. Real-world deployment on SJSAS could use a good step-by-step tutorial which I plan to write if I ever get this deployed.

creative_pragmatica at 2007-7-9 6:11:49 > top of Java-index,Desktop,Deploying...
# 3

> Also, I guess it will be necessary to sign the

> JAR files but I'm not sure how.

Why? Any number of Jar files can be added to

a single application as resources, without the

need to be signed.

OTOH, if your application requires extended

privileges, then yes, all jar's will need to be

digitally signed.

AndrewThompson64a at 2007-7-9 6:11:50 > top of Java-index,Desktop,Deploying...