Not exactly in the same bean but perhaps the same thread that the started by 
the very same SLSB that wanted to listen to the event.

Here is the details: 

I have an OrderManagerBean (SFSB) that contains orders from the top of a queue 
(collection) managed by a (application scope) bean which contains all 
outstanding orders. This application-scope bean serves as my (cache/singleton) 
to all orders.

When user invokes the OrderManagerBean.ship(order), this SFSB does the normal 
business routines then instruct the application bean to remove the specified 
order from its cache. Since there may be more than one OrderManagerBean 
instances, I would like to raise an Event to instruct the all OrderManagerBean 
to refresh its own cache.

So I guess you could say it's same bean. Is there a problem with this design?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045332#4045332

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045332
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to