Whats the intention behind doing this? What kind of EJB's are u talking about?
In any case, I dont think such kind of functionality is provided ready made by any application server. Some may provide this as a additional feature in an application server monitoring console. At best, if an application server has any JMX hooks to do such kind of stuff, you may be able to utilize that.
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in OneStopFAQs.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.