This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Thread Pool Management in SocketServer. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Thread Pool Management in SocketServer." Watch "Thread Pool Management in SocketServer." New topic
Author

Thread Pool Management in SocketServer.

Yuvraj Singh
Greenhorn

Joined: Apr 30, 2002
Posts: 11
Hi All,
I have developed a Socket Server which initializes
some threads at the start-up..I need some help on:
1./How to spawn new threads with the increasing Concurrent request(one way is to increase pool size is in batch)
2./How to kill Idle threads?
3./How the incoming Concurrent Requests can be made to wait untill some threads get freed.
Is there open source code available for SocketServer having above functionality.
One more Question,Is it possible to make Windows NT Service of a Java Socket Server.
Regards,
Y.S.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Thread Pool Management in SocketServer.