• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

programatically invoke commands to third party JNLP link & read output

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ten guru",
Please check your private messages.
 
No. No. No. No. Changed my mind. Wanna come down. To see this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic