Win a copy of Programmers Guide to Apache Thrift this week in the Open Source forum!
  • 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 ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

programatically invoke commands to third party JNLP link & read output  RSS feed

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.
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ten guru",
Please check your private messages.
Paper jam tastes about as you would expect. Try some on this tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!