Re: How to transfer InputStream between RMI Server and Client
Thursday, October 25, 2001 11:05 AM
I will take a stab at this. My first thought would be that you can not pass input or output streams from client to server or vice versa because of security. But even if it allows you to then when it tries to read or write to the stream it probably can't find it because it is not local anymore. Why would you want to pass a stream like that? Can I guess because the file is not available to the client. So you are opening a stream on the server side and then passing it to the client to read from. Instead of doing that why not just pass the data you are reading rather then the stream. or am I not following you?