1 Reply Latest reply on Oct 16, 2004 9:37 AM by frito

    How to access currently used Session Beans?

    manawajaws

      Hi all,

      Does somebody know how to access all the Stateful Session Beans that are currently used (in an active state) at a time t ?

      I mean, I need to know how many beans have been created on the server before initializing a new one. Do JBoss have a list of Session beans that have been created and how do I have acces to it ?

      Thanks a lot,

      Fabrice

        • 1. Re: How to access currently used Session Beans?
          frito

          These are things the client shouldn't be aware of. You can configure the server (session bean) for the maximum number of instances. Pooling and caching is done by the server. When no instance is available for another user, an exception is thrown. Catch it and try again later on.

          The web console (http://host:8080/web-console) provides some information about the beans. You can use the same JBoss interface. Must be some kind of MBean....