Yes, when you have tested I would be interested in seeing it and you may want to
consider contributing it to the project.

I managed to find a good description of this pattern, including some sample Java
code from a reprinted Java Report article (July '98) on the web (searched for
"Event Notifier Pattern" on Yahoo!).

A web event model is something I have been very interested in using for some
time.  Barracuda (barracuda.enhdyra.org) implements a similar pattern but it seems
web-centric (ie. dealing with HTTP events) and I am reluctant to try to integrate
it with turbine.  To my knowledge, an appropriate one-to-many event handling model
is lacking in most web app frameworks.

J2EE Blueprints describes a simple approach similar to Turbine's "Action Events."
Events are mapped at the web tier to "business events," which are handled by a
series of case-switch statements in a stateless session bean.  A true
object-oriented event notifier implementation would be an improvement over this
procedural approach.

In the meantime, I'll use yours and Daniel's advice on implementing services.

Thanks,
Nate

Saimon Moore wrote:

> On Mié 28 Nov 2001 00:38, Nathaniel Reed wrote:
> > For my application, I need to create an application-scoped singleton
> > class that implements the event notifier pattern.  The Turbine services
> > framework seems to be perfect for this!
> >
> > Unfortunately, the documentation does not appear to address this.  Any
> > advice?
> >
> > Also, this is a common problem.  I wonder if anyone else has implemented
> > this pattern in a reusable way?
> >
> > Thanks
> > --
> > Nate Reed
> > Physical Oceanography Distributed Active Archive Center
> > Jet Propulsion Laboratory (Raytheon)
> > [EMAIL PROTECTED]
> > (626) 744-5528
> > (626) 744-5506
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]> For additional
> > commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
> I've implemented this for my app but I haven't tested it yet and I want to
> make sure it works well first...once I have it tested I'll send off the code
> to the list...
>
> If you'd like I can send it as is to you privately whenever you want.
>
> I did what Daniel said...basically copying from an existing service.
>
> Saimon
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
Nate Reed
Physical Oceanography Distributed Active Archive Center
Jet Propulsion Laboratory (Raytheon)
[EMAIL PROTECTED]
(626) 744-5528
(626) 744-5506



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to