There are several possible methods to implement:
-
Using Socket programming
-
fast
-
Very expensive to maintain elegant programming
-
Using Remote Method Invocation(RMI)
-
RMI is a great abstraction for communicating between Java virtual machines.
-
It's not as efficient as a direct sockets-based method. (5 times slower than socket programming)
|