I would like to know the advantage of using RMI METHODOLOGY connecting to the server over the SOCKET CONNECTION connecting to the server. Is there any performance differences like speed, reliability... etc.
Because I am currently working in developing Java application implementing 3 tier architecture.
There is no database connectivity concept in this.
To fetch some info from lower tier to the uppermost tier
I feel RMI is better solution instead of Socket concept.
Some one please clear my doubt.
Thanks in advance.