🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9092

Re: what's the difference between a listener and a observer?

#9092
From: John P. McGrath
Date: Tue, 23 May 2000 00:00
13 lines
931 bytes
On Tue, 23 May 2000 11:01:16 -0400, Trey Ethridge wrote:

> Can anyone tell me the difference between a listener and an
> observer?  I haven't been able to find an explaination anywhere.

They both implement a publish/subscribe notification mechanism.  The 
Observer/Observable mechanism is the older of the two, and you would 
probably be better off avoiding it.

-- 
John P. McGrath
<JPMcGrath@fast.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.139510433096f4d798994a@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <392A9D3C.77F29C7B@softrealityinc.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,73d2c934080d9470
X-Google-Attributes: gid111d45,public
From: John P. McGrath <JPMcGrath@fast.net>
Subject: Re: what's the difference between a listener and a observer?
Date: 2000/05/23
Message-ID: <MPG.139510433096f4d798994a@forums.borland.com>
X-Deja-AN: 626561738
References: <392A9D3C.77F29C7B@softrealityinc.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing