*
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 Android Security Essentials Live Lessons this week in the Android 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.
 
Don't get me started about those stupid light bulbs.
 
subject: Thread Pool Management in SocketServer.
 
Similar Threads
Reasons to use plain RMI vs EJB
Socket error: connection reset by peer ??
Singleton ( a Deeper Understanding )
Socket is not receiving the first request after long Ideal time
Socket server on weblogic