File transfer to multiple clients from server socket

I have multiple clients connected to my server socket and I need to copy more than 200mb documents from server to all clients over socket. Can we design the issue considering scalability and performance factor? What I am thinking of we should use thread for transferring file from server to client. But at the same time if we have large number of clients then we can't initialize a thread for each client. I think in this case we should initialize less than 10 threads in the pool as the file size is very large. If we keep number of threads in the pool low then probably we have to read multiple times the large server file (once for each group) which might again be a performance bottleneck. Please pour in your suggestions.

[734 byte] By [uagardxa] at [2007-11-26 15:19:51]
# 1
Is the file always same? If yes then you can read the file in memory
AjaySingh516a at 2007-7-8 11:46:40 > top of Java-index,Archived Forums,Socket Programming...
# 2

File would be same for an instance only. For example say I have a "SEND File" button & 揊ile Path?text box. In File Path suppose user enters the absolute path of the file and then clicks on Send File button. The responsibility of Send File button would be sending the file mentioned in the "File Path" text box to all connected client. But next time user can choose a different file.

uagardxa at 2007-7-8 11:46:40 > top of Java-index,Archived Forums,Socket Programming...
# 3
Hello,Try to use the NIO( http://java.sun.com/j2se/1.4.2/docs/guide/nio/) in your server.by using NIO your server will send the file to all connected clients concurrently with a good performance.so your server will not halt until each cient recieve the file.
Mostafa.Hashema at 2007-7-8 11:46:40 > top of Java-index,Archived Forums,Socket Programming...
# 4
I have not used NIO. It would be a great help if you can provide a sample code.
uagardxa at 2007-7-8 11:46:40 > top of Java-index,Archived Forums,Socket Programming...
# 5
Sun have already done that, in the JDK samples and the NIO Tutorial.Oddly enough.
ejpa at 2007-7-8 11:46:40 > top of Java-index,Archived Forums,Socket Programming...