开发者

EJB container managed threading model

Any good source/links or concise explaina开发者_如何学JAVAtion about it?

Thanks a lot!


The container has a thread pool and a request queue. When a request comes in, it's added to the queue. A listener takes the request off the queue, checks a thread out of the thread pool, and gives it the request to process. When the process is complete, the thread goes back into the pool to await its next assignment.

When the thread pool is exhausted, requests back up in the queue until sufficient resources are available to process them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜