Velocity Reviews

Velocity Reviews (
-   Java (
-   -   Re: Sockets for inter-process communication (

Knute Johnson 06-27-2003 10:00 PM

Re: Sockets for inter-process communication
Jeremy wrote:
> Is this terribly inefficient? What I mean is - using a network socket to
> exchange objects with another app or thread on the same machine. Is there a
> more efficient way to do this? Any good reading on inter-app communication
> (or inter-thread communication within the same VM)?
> Thanks,
> -Jeremy

In the same app between threads the PipedInputStream and
PipedOutputStream are the way to go. Between apps or apps/machines
sockets and streams.


Knute Johnson
email s/nospam/knute/
Molon labe...

All times are GMT. The time now is 10:30 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.