rmi vs servlets vs sockets
问题 what is the difference between socket programming, rmi and Servlets. When to use what? 回答1: The Socket APIs are the low-level (transport level) abstraction by which a Java application interacts with the network, and by extension with remote clients and services. Socket and related APIs support reliable byte stream and unreliable messaging services. They are typically used for TCP/IP and UDP/IP, though other networking protocol stacks can (at least in theory) be supported. RMI is a framework