Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 86083 invoked from network); 28 Aug 2004 13:58:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Aug 2004 13:58:31 -0000 Received: (qmail 57550 invoked by uid 500); 28 Aug 2004 13:58:24 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 57495 invoked by uid 500); 28 Aug 2004 13:58:23 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 57480 invoked by uid 99); 28 Aug 2004 13:58:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [216.193.202.245] (HELO waseda.lunarpages.com) (216.193.202.245) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sat, 28 Aug 2004 06:58:22 -0700 Received: from 000d88870c4e.click-network.com ([131.191.32.112] helo=[127.0.0.1]) by waseda.lunarpages.com with asmtp (Exim 4.34) id 1C13j2-0000Hg-VB for commons-user@jakarta.apache.org; Sat, 28 Aug 2004 06:58:37 -0700 Message-ID: <41308F76.6020401@michaelmcgrady.com> Date: Sat, 28 Aug 2004 06:58:14 -0700 From: Michael McGrady User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: how can we restrict an user from further creaion of an Object of same class References: <20040828073123.9D3C721B32F@ws5-6.us4.outblaze.com> In-Reply-To: <20040828073123.9D3C721B32F@ws5-6.us4.outblaze.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - waseda.lunarpages.com X-AntiAbuse: Original Domain - jakarta.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - michaelmcgrady.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ajith s wrote: >hai iam ajithkumar from india is it possible for you to get me a solution for which iam in hook of, > >How can the user be restricted from creating an Object for a similar class more than once > > >whose function is realy implemented in servlet > >allowing to create one Object with ,many thread > > Can you restate this question? I am not sure what the end of the quesion means. I think you are asking whether you can keep a user from creating more than one of a particular class. Without looking at the other things you have said, I would begin thinking of keeping a static map of users which would cache the object a user has previously created. Michael --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org