[jboss-user] [J2EE Design Patterns] - Producer - Consumer Pattern with EJB3.0

sschmidt42 do-not-reply at jboss.com
Wed Jul 19 06:18:43 EDT 2006


Dear All!

I'm trying to construct a consumer - producer construct using 2 stateful session beans and one message driven bean.
One statefull session bean represents a running business process. This bean references another driver bean (the other statefull session bean). The business-process itself spawns up into n worker-beans which are running asynchronous (message driven beans). All these worker-beans should retrieve information from the driver-bean.

My problem is to get the workers reference information on this one driver-bean-instance that is associated with the business-process.

Is there anybody who can give me a hint how I can get such a reference in every message-driven worker-bean?

Thanks a lot!
Sebastian

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959074



More information about the jboss-user mailing list