Today we will be discussing about Java RMI Server.
What is RMI Server?
According to Wikipedia, Java Remote Method Invocation (RMI) is
“A Java API that performs the object-oriented equivalent of remote procedure calls (RPC), with support for direct transfer of serialized Java classes and distributed garbage collection.”
What is Remote Procedure Call?
Again, according to Wikipedia, Remote Procedure Call is:
“An inter-process communication that allows a computer program to cause a subroutine or procedure to execute in another address space (commonly on another computer on a shared network) without the programmer explicitly coding the details for this remote interaction.”
Long story short, Java RMI / RPC allows an Class to invoke (access) methods from another server as if the methods is placed on the same machine as the Class itself.
Continue reading “[Java] RMI Simple Server Example using Terminal”