wood burning stoves 2.0*
The moose likes Applets and the fly likes how to invoke an application from within an applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "how to invoke an application from within an applet" Watch "how to invoke an application from within an applet" New topic
Author

how to invoke an application from within an applet

chetan dhewal
Ranch Hand

Joined: Nov 07, 2000
Posts: 61
hi there ppl,
i want to invoke any application from within a applet. how can i do this, my code shud run on any window platform. i am using java 1.5.

Do i hav to change certain security policies or what ever, before doing it . if yes pls give me the detail to do it also .

If possible , pls give a working code for this problem , as it wud cut my project time.


pls its very urgent ......


thnx


Chetan Dhewal<br />SCMAD,SCJP 1.2
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15957
    
  19

Yes, you will modify to set the client's Java security settings to launch an application from an applet. Applications run in a more relaxed sandbox, so otherwise there would be the ability to effectively elevate security in applets.

I have no examples myself. Given a choice, however, I'd prefer to not run a discrete application, but simply try and keep everything within the applet's context. If there are reasons that can't be done (calling an third-party application or whatever) I'd consider using Java Web Start and bypassing the applet altogether.


Customer surveys are for companies who didn't pay proper attention to begin with.
chetan dhewal
Ranch Hand

Joined: Nov 07, 2000
Posts: 61
thanx TIM for u r reply , one my problem is sorted , dat u hav to change security settings , but how do i change security settings , and give me some detail abt java web start , i dont know much abt it .

nad yes ppl if anyone of u out there cud just give the proper code for this problem along with how to change the security setting on client side, pls do so.

waiting for some code this time , thnx anyway tim ..
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

chetan, could you please use real words?
As for signing an applet, it's a configuration task, not a coding task, so there's no code to share. You can read about signing applets here and java web start here.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15957
    
  19

You mean that was supposed to have been in ENGLISH???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to invoke an application from within an applet
 
Similar Threads
jsp-servlet error
how to invoke applet from servlet
Applet loaded in a Frame.
How to access APPLET PARAM values?
Invoke JSP from within backend code?