In connection with performance testing the number of beans living within the container is quite interessing. Can someone imagine a way to determine the amount of beans?
Have you looked into JBoss Instance pooling, you might wanna look into it.
AbstractInstancePool.java (Function: retrieveStatistic() ) gives details like:
I hope this helps,