0 Replies Latest reply on Jul 19, 2006 6:18 AM by Sebastian Schmidt

    Producer - Consumer Pattern with EJB3.0

    Sebastian Schmidt Newbie

      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