how to invoke java method sitting on another JVM

I have 2 java methods A and B. The method A sits on unix box/JVM - A and method B sits on unix box/JVM - B. How do i invoke method B from method A. Pls provide me a good picture about how the architecture should be..!

[224 byte] By [srija] at [2007-11-27 11:35:34]
# 1

Google RMI.

~

yawmarka at 2007-7-29 17:03:34 > top of Java-index,Java Essentials,Java Programming...