Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
[which means if request is greater than the pool size ,it has to be wait in queue,and released when any request in-line is served] The problem with thread object is ,it can be called start() only once,if you try to call again ,it will through illegal state exception.So it is not possible to put all the thread object into stack and reuse. If you put runnable object into stack and manually call run(),there is no concurrent action. Do any one help me out to create thread pool as similar as in web,app servers. Thank you, Replies: |
Sponsored Links
|