The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.



Posted by Matt Gerrans on December 11, 2001 at 6:28 PM

> > 1. Two different java programs running in two different user areas
> > needs to communicate with each other. Can there be anything like a
> > shared memory. There are considerations, due to which I can
> > not use a port or a file.

> > Is there a way to have a shared memory or is there a way, how I
> > can share an object between two java programs, which are running
> > in two different user areas.


I think there may be a couple reasons for the lack of response:

  1. You posted in the August forum and it is now December.
  2. After reading your question a couple times, I'm still not sure exactly what you are asking.

What are "user areas?" If you want to transfer data betwixt files running on different machines, over the network, then use sockets. If you want to transfer data between programs on the same machine (like OLE/COM on the windows platform), then Sun just posted an article for you: New Data Transfer Capabilities.

- mfg


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us