This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes starting a standalone java application from a browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "starting a standalone java application from a browser" Watch "starting a standalone java application from a browser" New topic
Author

starting a standalone java application from a browser

Dotun Dipeolu
Greenhorn

Joined: Aug 26, 2010
Posts: 4
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

Joined: Mar 22, 2000
Posts: 12759
    
    5
Where is the application supposed to start? On the same computer as the browser? on a server somewhere?

Bill
Dotun Dipeolu
Greenhorn

Joined: Aug 26, 2010
Posts: 4
Thanks Bill, yeah on the same machine as the browser.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60761
    
  65

Sounds like a job for Java Web Start (aka JNLP).


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Dotun Dipeolu
Greenhorn

Joined: Aug 26, 2010
Posts: 4
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

Joined: Jul 26, 2007
Posts: 10167
    
    8

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.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Dotun Dipeolu
Greenhorn

Joined: Aug 26, 2010
Posts: 4
hi Maneesh, could you be more explicit
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167
    
    8

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: starting a standalone java application from a browser
 
Similar Threads
opening browser from swing. is it possible
If there is output in Class file then how can i take this out put on Browser
launching URL in new browser window
HTML and Post
Closing the browser window through Java