This content has been marked as final.
Show 3 replies
-
1. Re: EJB 3.0 with Stateless Session Bean as instance variable
jaikiran Apr 15, 2009 11:37 PM (in response to wichkabashir)Why do you want to maintain a instance of SLSB in a MDB? Note that the MDBs are pooled and its not guaranteed that the JMS message is always handled by the same MDB.
-
2. Re: EJB 3.0 with Stateless Session Bean as instance variable
wichkabashir Apr 16, 2009 6:51 AM (in response to wichkabashir)Yes I know, but my main concern is that stateless session beans should not get created endlessly, that is to say that if pooled message driven beAn is used to process a message, a pooled stateless session bean should be injected rather than creating a new one every time. Hope I make sense now.
Thanks,
Ahmed