I want to call a JNLP file through JWS using command line. I'm wondering whether it is possible to pass application parameters in the command line cause those going to be dynamic.
My command line entry will looks similar to "c:\javaws http:\\xxx.xxx.xxx\Test.jnlp".
If its not possible, I'm thinking of passing a sys property value as -J-Dxxxx=yyyy. But it would be nice if I can pass app parameters.
my plan is to keep the JNLP file in webserver. Let JWS to do what is suppose to do from deployment prospective. But pass dynamic parameters to the application by the “caller”, so I don’t need to dynamically create the JNLP each time.
Okay. Then the command-line parameters will come from the web server's version of the JNLP file, since that's how JNLP files work. It follows from that design feature that the command-line parameters won't come from anywhere else.
Therefore if you want to pass in information which varies from one run to the next, but you want to use the same JNLP file for each of those runs, it follows that you can't use command-line parameters.