1 Reply Latest reply on Mar 17, 2008 4:20 AM by frankthetank

    beginners question about MBeans

    mglowacki

      Hi

      I would like to have a preview in runtime, how many users are currently on site. I have session scoped bean, named SessionData, which is created for each customer that visit the site. Now I would like to see how many instances are created, I suppose I could use MBeans and JMX console for that?

      What I expect with this thread is an answer if I'm right, and if, please give a link if you have, to tutorial how to do it without going deeply into mbean's topics - I know it's interesting thing, but now I have enough problems with my app performance and need quick solution to measure page load :(

      Thanks in advance,
      Michal

        • 1. Re: beginners question about MBeans
          frankthetank

          I am a little confused as you are posting about MBeans but seem to be talking about a Session Bean.

          If you have an MBean or a Service Bean, you only have one instance of this bean.

          If you are using a Session Bean, sorry, no idea.
          But I would also love to hear if this is possible.