tags:

views:

45

answers:

0

Hello, currently i am working on an rmi example which does the following. 1> RMI client starts a server. 2> Display logs from the server Side on the client console.

I was able to achieve the first task(Point 1). now i am facing a big problem in redirecting a server logs to the client console.

for displaying of logs in the client console i did the following. 1. redirected the System.out to a pipedOutPutStream, and a pipedInputStream is attached to a piped output stream so as to read what is present in the stream. so my question is how can i access the pipedInputstream on the client side so that i can read the input stream and display the logs of server on client console.? PLEASE HELP

Regards Dhiraj