Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to avoid web start application relaunch ?

 
Igor Merabishvili
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to start web start application locally by means of javaws.exe. But even starting local jnlp file javaws always start the new VM. How to avoid it?
 
Raf Szczypiorski
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure if this is what you really want (you gave too little information), but javax.jnlp.SingleInstanceService and javax.jnlp.SingleInstanceListener might be what you need. Make your main application class implement this interface, and then whenever a new instance of this app is to be started, and there is a running instance already, the running instance's callback method will be invoked.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic