Avoiding multiple instances of a same application

M

Maneesh

Hi,

I have a java application and I want to make sure that there gets just
one instance executed (on the same machine).
Can any one suggest me some approach to do the same.

Thanks
Maneesh
 
I

Ingo R. Homann

Hi Andrew,

Andrew said:
Good approach, the socket. While I have your attention,
do you have any ideas that might suit an unsigned applet?

I have been wracking my brain, but nothing I can think of
might work for applets that are not (necessarily) running
under the same VM/AppletContext.

That's exactly, what Applets are designed to: to run in a sandbox and be
unaware of everything outside the sandbox - of course even of an other
Applet that runs in another Sandbox (or, by the way, even of the
existance of another sandbox on the same computer).

The Applet has to be signed.

By the way, I think, webstart is in almost any case a better solution
than an applet.

Ciao,
Ingo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top