Re: Quick question... NSNotificationCenter?
Re: Quick question... NSNotificationCenter?
- Subject: Re: Quick question... NSNotificationCenter?
- From: Jake MacMullin <email@hidden>
- Date: Wed, 01 Sep 2004 09:34:38 +1000
Is this one possible solution to the problem where you have multiple
instances of an application, and you want *all* instances to know *as soon
as* one instance has written to the DB? Or is it meant for something else?
I know project Wonder has something for this - and others have mentioned
having on instance (the writer) call web services on each of the other
instances as a means of letting them know about important changes.
What methods have people found to the most effective/straight-forward? Is
this something that a lot of people worry about - or are most people happy
for some of the instances to have stale data?
Regards,
Jake
On 1/9/04 1:22 AM, "Chuck Hill" <email@hidden> wrote:
> There is usually only one instance per application. I'm not sure how
> this works with JC.
>
>
> Chuck
>
>
> On Aug 31, 2004, at 1:13 AM, Rams wrote:
>
>> Sorry to be a bother with what seems like such a basic question, but I
>> can't seem to find a clear answer anywhere in the docs... or what looks
>> like a clear answer seems rather improbable. Is there only one
>> instance of NSNotificationCenter per web application? The docs seem to
>> say so. If that is the case, then using NSNC on a 3-tier Java Client
>> app means that observers on every client receive all those little
>> notifications made by every object on every other client, no? Is that
>> really the case, or are there multiple instances of NSNC, one per
>> client, or one per session, or one per something else?
>>
>> --
>> Learn how to cryptographically sign your mail in Panther
>> http://www.joar.com/certificates/
>>
>> [demime 0.98b removed an attachment of type
>> application/pkcs7-signature which had a name of smime.p7s]
>> _______________________________________________
>> webobjects-dev mailing list | email@hidden
>> Help/Unsubscribe/Archives:
>> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>> Do not post admin requests to the list. They will be ignored.
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.