Discussion Locked

rmi and soket programming

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
what is difference between rmi and socket programming and what is advantages and is advantages and disadvantages of both.

1 reply

by ashgr8

rmi saves your precious time and all the efforts that you have to make when you are writing some application(particularly for private networks in enterproses, etc...).

using rmi u don't have to worry about lower level socket implementation that u do while using java.net package.

all u need in rmi is two physically connected hosts and jdk on both sides::
implement your rmi interface on both the hosts,
rmi server on the server
rmi client on the client
run rmiregistry
and do what u have implemented ur system for...

This discussion is closed to new replies.