is it possible to get notified inside the bean (mdb in this case) that its deployment procedure has just finished?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would say that when
setMessageDrivenContextis called, that’s your bean deployed – you know that the container has a context and has assigned it to your MDB.The problem with your design is that MDBs are passive components, they’re not supposed to do anything until a message gets delivered to them.