Thread pools can be configured for different use (i.e. EJB, timer, web ...).
A direct access is not recommended as you should not controll threads in the application code, this is the responsibility of the container.
Or do I missunderstand your question?
First, thank you for your reply !
I do not want to control these threads, but want to use them to do something.
Thread pools can be configured for different use (i.e. EJB, timer, web ...).?
timer? standalone-ha.xml have configured timer thread pool?
I'm using jboss7.
I move the thread to the appropriate forum.
I did not understand your needs, from the EJB spec you should not deal with threads.
Do do something you might use timers (i.e. @Schedule annotations for EJB) to start a action by specifying a time.
So please explain what you want to achieve, in that case we might able to give you some hints how to do.
Our company has a regularly scheduled task framework, is the company's employees own development. Thread pool is not used before, and before using websphere container, concurrency control is how to do that I was not very clear. Now wants to migrate to Jboss existing projects under the container, and use the thread pool to do so Jboss concurrency control execution Job, I now want to do things like