J2EE™ Security for Servlets, EJBs and Web Services: Applying Theory and Standards to Practice
by Pankaj Kumar
Chapter 8. RMI Security
Java RMI (Remote Method Invocation) is one of the oldest and simplest Java APIs for developing distributed applications. As the name suggests, it allows a client program to call methods on remote objects, or objects hosted on a JVM other than the client's JVM. The client and server JVMs need not even be on the same machine. The only requirement is that there must exist some kind of network connectivity, most often one based on TCP/IP, between these machines.[1]
[1] Theoretically, it is possible to have RMI over networks other than TCP/IP, although, in practice, most RMI implementations use TCP/IP as the underlying protocol.
RMI allows both client and server programs to stick with the familiar object-oriented programming ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access