I created a servlet that makes use of a certain mbean. I want the mbean to be registered first and then the servlet class to be initialized. The Mbean is part of a different sar and the servlet in question is in a different war file. Can any one help me with this. Is there any way of doing this through web.xml??