My web application uses the MBeans(which are in myapplication.sar) when it get started. Means my application is depend on MBeans and it is using mbeans when it get started(I am having an InitServlet, which uses Mbean)
Now the issue is my application get loaded/started before my mbeans are loaded/started. and I am not able to get the referece of mbeans as they are not yet loaded.
So, How can I make my application dependent on my mbeans so mbeans always gets loaded before my application start.