Jboss Java EE container and an ExecutorService

后端 未结 5 1778
滥情空心
滥情空心 2020-11-29 01:53

I have a standalone java app which used the ExecutorService to process a number of jobs in parallel

 ExecutorService es = Executors.newFixedThreadPool(10);
<         


        
5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-29 02:47

    If you are using JBoss, you can use org.jboss.seam.async.ThreadPoolDispatcher.

    ThreadPoolDispatcher is completely managed.

    For others useful managed classes, see the package: org.jboss.seam.async.

提交回复
热议问题