avalon-apps-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hammant <Paul_Hamm...@yahoo.com>
Subject Re: Cornerstone addition and patch
Date Sat, 30 Nov 2002 07:25:48 GMT

Applied, thanks.  Not sure about the 'throws (derivative of) 
RuntimeException' in one of the block method signatures. Will think 
about it some more.

Is there any chance there could be an example of use that we could add 
to the jakarta-avalon-apps/demo package?  Maybe this is not a new demo, 
but a value added modifaction to an old one.. maybe not.


- Paul

> I attach a new cornerstone service/block for event notification among 
> services.
> It is based on the Event Notifier pattern by Gupta et al. (Java 
> Report, Vol. 3, No. 7, July 1998, 19-36).
> It allows services to publish and subscribe to events of interest and 
> be notified of them.
> It is useful in that it decouples greatly the services in big phoenix 
> apps.
> At present, the implementation is for local interfaces although I've 
> used it successfully in a distributed setting
> (via RMI).    All is needed to be make the EventManager, Publisher and 
> Register Remote interfaces.
> But perhaps one might want to implement other distributed method 
> invocation,  in particular AltRMI.  It can be improved in several ways 
> but a present I wanted to gauge if there was interest in it.
> I also attach a patch to extend the RMIfication service, adding the 
> methods export() and unexport().
> There sometimes is the need to export a Remote interface without 
> "publishing" it (ie binding it with a name).
> Eg, when a service (whose interface has been RMIfied and published) 
> exposes other remote interfaces
> which are only accessible via the service interface (but not direcly 
> via the RMI registry).

To unsubscribe, e-mail:   <mailto:avalon-apps-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-apps-dev-help@jakarta.apache.org>

View raw message