Advantages of RMI
Advantages of RMI
Object Oriented: RMI can pass full objects as arguments and return
values, not just predefined data types.
Design Patterns: Passing objects lets you use the full power of object
oriented technology in distributed computing, such as two- and three-tier
systems. When you can pass behavior, you can use object oriented design
patterns in your solutions.
Safe and Secure: RMI uses built-in Java security mechanisms that
allow your system to be safe when users downloading implementations.
RMI uses the security manager defined to protect systems from hostile
applets to protect your systems and network from potentially hostile
downloaded code. In severe cases, a server can refuse to download any
implementations at all.