-
1. Re: Aboaut JBoss thread pool of issues
wdfink May 21, 2013 11:44 AM (in response to liverpoolilove)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?
-
2. Re: Aboaut JBoss thread pool of issues
liverpoolilove May 21, 2013 9:47 PM (in response to wdfink)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.
-
3. Re: Aboaut JBoss thread pool of issues
wdfink May 22, 2013 6:53 AM (in response to liverpoolilove)MIchael,
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.
-
4. Re: Aboaut JBoss thread pool of issues
liverpoolilove May 22, 2013 11:21 AM (in response to wdfink)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