dcsimg
pipe data to another java application
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Thirawat_Thienprathan
Posted On:   Thursday, November 15, 2001 08:37 PM

How I can pipe data from a java application to another java application (not another thread)?




And It don't wait EOF.


Thanx

Re: pipe data to another java application

Posted By:   John_Zukowski  
Posted On:   Thursday, November 29, 2001 08:27 AM

Its called sockets. Read the Networking FAQ.

Re: pipe data to another java application

Posted By:   Christopher_Schultz  
Posted On:   Friday, November 16, 2001 09:03 AM

What kind of piping are you talking about?



Do you mean:



$ java MyClass | grep "tidbit"



Or do you mean streaming data from one place to another?



In the case of streaming data, if you can open an OutputStream to pretty much anything (a socket, a FIFO on a UNIX machine, a URLConnection, etc.) than you can just write() to the stream.



-chris

Re: pipe data to another java application

Posted By:   Thirawat_Thienprathan  
Posted On:   Thursday, November 15, 2001 11:36 PM

You may use data socket.

Nahtarpneiht Tawariht
About | Sitemap | Contact