the two java program run on the same machine which OS is unix
I just know socket can communicate,
does java has some ways like unix communicate on the same machine???
Joined: Oct 13, 2005
I have used two Java programs communicating via agents written in LISP. You can write data to a file in one JVM and read the file on another. There are bound to be many more ways.
Using a Unix-specific or LISP connection requires certain dependencies in the platform, so you lose independence.
Question too difficult for "beginning Java". Moving thread.
Joined: Nov 21, 2007
JMS can be used,
And on linux may be named pipes- not sure about this.