Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestions for cross java app communication



Scott, How was the speed of your socket method implementation?  Was
there any constant ms delay during the transfer?


>>> Scott Palmer <email@hidden> 10/29/2004 11:58:55 AM
>>>

On Oct 29, 2004, at 10:19 AM, Michael Purdy wrote:

> I will be needing to implement a method to allow two java
applications
> to communicate and transfer data.  It will need to operate at the
> fastest possible rate.  My plan thus far is to establish a socket
> connection between the two and create a sort of client-server
system.
> Does anyone have opinions on this strategy or suggestions for 
> alternate,
> possibly faster, methods.
>
> Michael

I have used the socket method successfully.  Another option with Java 
1.4 is to use Mapped Byte Buffers to share memory between the 
applications.  Though I have not tried that method yet.

Scott

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.