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?