Xio Nipnang
Xio Nipnang

Reputation: 13

What does Server object, Remote object mean in RMI Java?

I have been studying for my exams and there is one topic of RMI is inluded in exam.

There are few simple definitions which i could not find online.

Can anybody please briefly describe the following terms used in the RMI architecture:

Remote object, Server object, rmiregistry and rmic

Thanks in advance.

Upvotes: 0

Views: 308

Answers (1)

J. Lorenzo
J. Lorenzo

Reputation: 151

Remote object: it's the object that you want to make "shared".

Server object: it's a remote object from a server.

rmiregistry: the rmiregistry command creates and starts a remote object registry on the specified port on the current host.

rmic: the rmic compiler generates stub and skeleton class files (JRMP protocol) and stub and tie class files (IIOP protocol) for remote objects.

Hope it helps!

Upvotes: 2

Related Questions