aspose file tools*
The moose likes JNLP and Web Start and the fly likes programatically invoke commands to third party JNLP link & read output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "programatically invoke commands to third party JNLP link & read output " Watch "programatically invoke commands to third party JNLP link & read output " New topic
Author

programatically invoke commands to third party JNLP link & read output

Prashant Dhanke
Greenhorn

Joined: Dec 10, 2007
Posts: 1
There's a third party website which has a jnlp link on one of its pages. On clicking the jnlp link, Java Web Start starts the process of verifying whether the client machine has updated jars and then invokes the main method of the main class. The link here launches a Jframe which provides a command-line like functionality to invoke the third-party commands.
We need to programatically (automation) invoke the commands & read the output.
(The idea is to have a webunit like functionality ; the difference here is that we need data from the window started by JWS. This window is run on the client side using jars mentioned in the jnlp file and downloaded from web-server ).
The third party can provide us the jnlp file & source code to read, but we can't change any of them.
Any suggestions or leads would be of great help. I have researched quite a bit but haven't found any thing concrete. The ideal solution would have ben to have third-party expose web-servie for invoking comands but that is currently not possible.

In a nutshell :
We need to post commands on JNLP and on execution of command a dataset will be displayed on JNLP and we need to read the data displayed in a stream without making any changes to client or server side jars.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"ten guru",
Please check your private messages.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: programatically invoke commands to third party JNLP link & read output
 
Similar Threads
How can I make use of WebStart?
Problem launching app through web-server
Is editing of client copy of jnlp file possible when using JWS?
Third party place for EJB.
use third party jars in GWT App