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
# 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.
# 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.