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
There is a ThreadPool service you can use, it's started in conf/jboss-service.xml.
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).