Question: Why might RMI be a sensible option for communication between client and server in a web application?
So why would RMI be used for communication between client and server in web apps?
Question: Why might RMI be a sensible option for communication between client and server in a web application?
So why would RMI be used for communication between client and server in web apps?
It's not.
RMI is a binary protocol for serializing and sending Java objects between two end-points and you really need those end-points to be JVM's for that to work.
With "web applications" I assume you mean html+http+javascript which would be incredible hard (if at all possible) to use with RMI.