I have two java processes and I have to write data generated from one process as an input to the other java process. The data stream generated will be of the size of 5GB . How can I do that.
Do I have to use a buffer file and read and write inputstream/outputstream into that file. Is there no other method or a more efficient method?
Thanks