• Post Reply Bookmark Topic Watch Topic
  • New Topic

What does RMI do/not do?

 
ravinderSingh singh
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I understand, from reading various literatures, that RMI enables a java object's methods to be called by some remote host.

What I wanted to know was does RMI provide any other types of services such as transaction management, security etc?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No - rmi pretty much only provides remote access, and distributed garbage collection.

For anything else, you're going to either have to code it yourself, or use a technology that adds these things to RMI.

For example, EJB technology uses RMI, but provides additional security, transaction management, etc.

Jini is another example of a technology that at the base uses RMI, but adds other functionality.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!