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???
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32604
4
posted
0
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.
chandrakant karale
Ranch Hand
Joined: Nov 21, 2007
Posts: 41
posted
0
JMS can be used,
And on linux may be named pipes- not sure about this.