• Post Reply Bookmark Topic Watch Topic
  • New Topic

Singleton Application  RSS feed

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to make my java (windows) application a singleton. Meaning that only one instance of the application can run (in windows) at a time.

Any thoughts would be appreciated.

Thanks, Lisa
 
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The least troublesome solution involves a ServerSocket, and is described in this thread.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!