0 Replies Latest reply on Jun 21, 2004 10:40 AM by pedrosalazar

    advantages of JMX against EJB stateless+singleton

    pedrosalazar

      Greetings,

      I would like to know the advantages of using a JMX against using a stateless EJB with a singleton design?

      I implemented a "cache" mechanism in a EJB where an operation method of my EJB would query first my chache, and if the element is not present, then go to database perform a query.

      I would like to know what advantages would I have if I migrate my cache mechanim from inside EJB singleton to a JMX object?

      thanks,
      Pedro Salazar.

      BTW, it's OK reply by email since I subscribe the JBOSS mailing list or should I always go through JBOSS web site for a post reply?