-
Events -vs- Messages
I have a simple question. What are the basic differences between events and
messages? To me, they appear to do the same thing.
Thanks in advance.
Ken
-
Re: Events -vs- Messages
Depending on the context, an event is a message with a particular
notification mechanism (event handlers, delegates, etc). Messages are a more
general term that is used to describe events, asynchronous message
callbacks, and other techniques for notification (files, databases, message
queues, etc.).
"Ken" <terryken@erols.com> wrote in message
news:3e9b0b6a$1@tnews.web.devx.com...
>
> I have a simple question. What are the basic differences between events
and
> messages? To me, they appear to do the same thing.
>
> Thanks in advance.
> Ken
-
Re: Events -vs- Messages
So one way to look at it is that messages use an event mechanism for transporting
it.
"Michael Gautier" <gautier_michael@hotmail.com> wrote:
>Depending on the context, an event is a message with a particular
>notification mechanism (event handlers, delegates, etc). Messages are a
more
>general term that is used to describe events, asynchronous message
>callbacks, and other techniques for notification (files, databases, message
>queues, etc.).
>
>"Ken" <terryken@erols.com> wrote in message
>news:3e9b0b6a$1@tnews.web.devx.com...
>>
>> I have a simple question. What are the basic differences between events
>and
>> messages? To me, they appear to do the same thing.
>>
>> Thanks in advance.
>> Ken
>
>
-
Re: Events -vs- Messages
I would rather say that event is a logic concept while message turn to be
a physical stuff. A message can be used to carry an event.
"Michael Gautier" <gautier_michael@hotmail.com> wrote:
>Depending on the context, an event is a message with a particular
>notification mechanism (event handlers, delegates, etc). Messages are a
more
>general term that is used to describe events, asynchronous message
>callbacks, and other techniques for notification (files, databases, message
>queues, etc.).
>
>"Ken" <terryken@erols.com> wrote in message
>news:3e9b0b6a$1@tnews.web.devx.com...
>>
>> I have a simple question. What are the basic differences between events
>and
>> messages? To me, they appear to do the same thing.
>>
>> Thanks in advance.
>> Ken
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks