This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

starting a standalone java application from a browser

 
Dotun Dipeolu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everyone,
i am new to java and i am trying to launch a desktop java application from a browser, Jmeter precisely. i want to pass a .JMX file to it from the browser then get it running on a click of a button from a browser. please i will like to know if this is possible and how. i will apprecate your warmly response
thanks in advance
dotman
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is the application supposed to start? On the same computer as the browser? on a server somewhere?

Bill
 
Dotun Dipeolu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bill, yeah on the same machine as the browser.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64970
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a job for Java Web Start (aka JNLP).
 
Dotun Dipeolu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah i am looking at that but remember i need to load a file unto the application via the browser as well. so am not certain if java web start can do that
 
Maneesh Godbole
Saloon Keeper
Posts: 11070
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a page which will let you upload the file to the server
Process the file
Have a servlet/jsp return the JNLP link to the user.
 
Dotun Dipeolu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Maneesh, could you be more explicit
 
Maneesh Godbole
Saloon Keeper
Posts: 11070
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which part of my reply did you not understand.

I just outlined a way in which you can pass a jmx file to the server and based on that file get a jnlp link. Is this not what you want to do?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic