<p>Hi, Witold; I have not yet done the kind of thing you're talking about, but I am thinking about it almost constantly. :-)</p>
<p>My "in my head" solution is/was going to be as follows:
<ol>
<li>Write one parameterized Interceptor that can be configured to post a JMS message to a queue somewhere when a method completes (the JEE equivalent of firing a <tt>loadActivationEvent</tt> to a series of <tt>LoanActivationListeners</tt> in your case).</li>
<li>Write each "observer" to be a JMS subscriber or message-driven bean that you hook up to that queue.</li>
</ol></p>
<p>I realize this is very high level--does that give you an idea on one way to proceed? Are there others out there who have tried this approach and found it either lacking or serviceable?</p>
<p>Best,<br/>
Laird</p>
[Message sent by forum member 'ljnelson' (ljnelson)]
http://forums.java.net/jive/thread.jspa?messageID=259580