Local System Application Launching
Our JWS application needs to be launched locally from a Win32 application with command line options.
I successfully deployed a JSP page that dynamically builds a JNLP file passing <argument>'s. Works great.
Unfortunately the only local launching method is hitting our JSP page with a Web Browser with the plug in installed.
And that can be automatic (programmatic) or manual (user driven) - but in both cases this leaves an empty browser window open after serving the JNLP file.
And so both options, as I can see, are just plainugly.
The end result is great - params passed and install all from a click in a win32 app. But the empty browser window sucks.
Any considerations for a different method for passing args and local system launching?
Any thoughts are appreciated.
Jodi
[853 byte] By [
Jebediah] at [2007-9-26 1:19:15]

Thanx for your reply Gerald;
I've read your responses previous to posting, but feel that your solution(Celia?) is too proprietary.
Is there a response from Sun?
Is this functionality possible within the JNLP architecture? Future?
Thanx again Gerald.
Jodi
I have an alternate solution that I'm running down.
Looks like javaws takes at least one command line parameter itself. A url.
So:
javaws http://www.somepage.com/jnlp/getProduct.jsp?dir=c:\temp\fred
Will run a JSP page passing the parameter dir, delivering a JNLP document.
Only trick is to query the registry to find the location of javaws.
Sun looks to publish a COM object and a Shell command - so running the above command from Start run gives the same experience.
Come to think of it :
explorer "http://register.industrialinfo.com/jnlp/getProduct.jsp?dir=c:\temp\fred"
works as well. But that assumes IE is used on a Win32 box.
Jodi