1 Reply Latest reply on Nov 24, 2006 5:05 AM by dimitris

    Threaded Service

    mrroger

      Hi all,
      I would like to implement a Service for my apps that lanches indipendent threads to do some actions (querying some network equipments). I need concurrency in accessing this service and i was thinking to write that creates and manage different indipendent threads.
      JMX is the correct choice ? If yes, any suggestion on implementing this ?
      Sorry, but i am quite newbie on jboss !!!

      Thanx a lot

      Giovanni

        • 1. Re: Threaded Service
          dimitris

          There is a ThreadPool service you can use, it's started in conf/jboss-service.xml.

          jboss.system:service=ThreadPool

          To learn how to use it you have to dig into the code of other services that make use of it (if I remember, org.jboss.naming.NamingService is one of them).