Page 1 of 1

system or global causeEvent

Posted: Fri Aug 07, 2009 1:22 pm
by ConvertFromOldNGs
by Scott >> Tue, 19 Aug 2008 10:10:05 GMT

It best use system or global causeEvent? What disadvantage? What advantage? Or make no difference?

Await your comment.

Re: system or global causeEvent

Posted: Fri Aug 07, 2009 1:22 pm
by ConvertFromOldNGs
by Murray Symon >> Tue, 19 Aug 2008 10:41:07 GMT

Your question is rather vague and broad in scope. Can you be
more specific on what you want to know, or what you are trying
to achieve?

You use causeEvent on an Object that has notifications subscribed.
So you need to consider causeEvent in relation to the notification strategy that is employed. You need to consider which objects
need to receive the notification - whether it is just a few, or
all objects in the system.

Re: system or global causeEvent

Posted: Fri Aug 07, 2009 1:22 pm
by ConvertFromOldNGs
by Torrie Moore >> Tue, 19 Aug 2008 21:31:06 GMT

One thing to consider is whether you are using multiple schemas. Jade creates a new global object for each schema where there is only one system object. If you are running applications from multiple schemas that need to respond to the notification you might be better to use the system object.

Torrie

Re: system or global causeEvent

Posted: Fri Aug 07, 2009 1:22 pm
by ConvertFromOldNGs
by Scott >> Fri, 22 Aug 2008 9:24:10 GMT

Sorry, mean notification all users.

eg: Message say logoff for shutdown.

I will system.causeEvent so work multiple schemas.

Thanks your time.