🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7268

Re: ?? Prevent starting a Programm twice???

#7268
From: Joi Ellis [TeamB]
Date: Fri, 29 Jun 2001 00:42
20 lines
1610 bytes
Kevin Dwan <kevin@blueberry.com> wrote:

>> >> > > I am searching for an easy way to prevent starting the same Programm
>> >> manifold on a Computer.

> I don't know if this is useful, but a search for "singleton" at JGuru turned up

>     http://www.jguru.com/faq/view.jsp?EID=124425

> and other articles that might be informative.

Well, a singleton pattern prevents you from creating duplicate objects
within a JVM.  It can not, however, prevent your OS from launching a 
second copy of the JVM.  

-- 
Joi Ellis (TeamB)               http://www.teamb.com/
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Newsgroup Info: http://www.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <3b3bcf09_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!sienna.impulse.net!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail
References: <3b398972$1_1@dnews> <3b39d418_1@dnews> <3b39da80$1_1@dnews> <3b3a1f7a_1@dnews> <3b3a691c_1@dnews> <3B3B79C5.69169590@blueberry.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,5fc10420f14b88fa
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-28 17:57:09 PST
Message-ID: <3b3bcf09_1@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: ?? Prevent starting a Programm twice???
Newsgroups: borland.public.jbuilder.java.language
References: <3b398972$1_1@dnews> <3b39d418_1@dnews> <3b39da80$1_1@dnews> <3b3a1f7a_1@dnews> <3b3a691c_1@dnews> <3B3B79C5.69169590@blueberry.com>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
NNTP-Posting-Host: 209.46.41.66
Date: 28 Jun 2001 17:42:49 -0700
X-Trace: dnews 993775369 209.46.41.66 (28 Jun 2001 17:42:49 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!sienna.impulse.net!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail