• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Avoid new instancing

 
Namho Rihm
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
As I am just starting to use WebSart it might be that my problem has nothing to do with it.
Ayway: If I click on a link to a jnlp-file on a website, is it possible to avoid that a second instance of the application will be launched if another one is already running?
Have a nice day! Namho.
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry to answer that late.
I think you're right - your answer has nothing to do with JavaWebStart. You could implement such a control by focing the user to log on to a server (just like https login). Through this logging mechanism you can restrict that for one login only one client is running.
Another way might be to let the client check whether another client is already running. if this is the case, the second client shuts down automatically (after notifying the user). I don't know how to do this, but it should be possible. on a unix system you could check the running processes.
Chantal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic