File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Reply 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: 12265
    
    1
Where is the application supposed to start? On the same computer as the browser? on a server somewhere?

Bill


Java Resources at www.wbrogden.com
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: 56150
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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: 8430

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.


[Donate a pint, save a life!] [How to ask questions] [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: 8430

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: starting a standalone java application from a browser
 
Similar Threads
Closing the browser window through Java
HTML and Post
opening browser from swing. is it possible
launching URL in new browser window
If there is output in Class file then how can i take this out put on Browser