DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Ken Guest

    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

  2. #2
    Michael Gautier Guest

    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




  3. #3
    Ken Guest

    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

    >
    >



  4. #4
    luo.gelin Guest

    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

    >
    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links