|
-
Jul 5th, 2003, 07:50 AM
#1
Thread Starter
Frenzied Member
Auto Launch Java Applet?
Hello,
I am not a java programmer but want to ask something so if I could have someone on a job web site do this for me. I want to have a link on my web site that when clicked will launch a program onto your computer and run it. I would imagine it would be a signed java control kind of like an activex.
The first time you use it the software would be installed on your computer. If you already had the software installed, it would check the version and update if needed. Either way it would run the program when done.
Can this be done with a java applet? I know I oculd do this with an activex control. Is there any advantage of using a java applet over an activex?
Thanks!
-
Jul 7th, 2003, 01:00 AM
#2
Dazed Member
Im not sure that an applet could be used for what you would like to do. An applet is usually restricted by the security manager which limits its use. A network connection could be made back to the server from the applet on the client but since access to the local file system by the applet is not permitted i couldnt see how you the program could be placed in system. Using an applet you would also not be allowed to run any programs on the client.
Why not just have the user download a program right from the site and when run would make the necessary socket connections to the server?
-
Jul 7th, 2003, 05:34 AM
#3
Since Java 1.2 the security model is different than before. Applets no longer simply run in their sandbox, instead there is a security manager that grants and denies single permissions to code. A signed, trusted Java applet can therefore have permission to do many things, including accessing the local hard drive.
But I have no idea how to sign applets.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|