Java Rmi 简明教程
Java RMI Tutorial
RMI 代表 Remote Method Invocation 。它是一种允许驻留在一个系统(JVM)中的对象访问/调用运行在另一个 JVM 上的对象的机制。
RMI stands for Remote Method Invocation. It is a mechanism that allows an object residing in one system (JVM) to access/invoke an object running on another JVM.
RMI 用于构建分布式应用程序;它提供 Java 程序之间的远程通信。它在包 java.rmi 中提供。
RMI is used to build distributed applications; it provides remote communication between Java programs. It is provided in the package java.rmi.
Audience
本教程专为初学者编写,帮助他们了解 Java 中远程方法调用的基础知识。
This tutorial has been prepared for beginners to make them understand the basics of Remote Method Invocation in Java.
Prerequisites
本教程假定读者具有 Java 编程语言的先验知识。在本教程的某些程序中,我们出于 GUI 目的使用了 JavaFX。因此,建议您在继续之前先完成我们的 JavaFX 教程。 [role="bare" [role="bare"]https://www.tutorialspoint.com/javafx/ ]
For this tutorial, it is assumed that the readers have a prior knowledge of Java programming language. In some of the programs of this tutorial, we have used JavaFX for GUI purpose. So, it is recommended that you go through our JavaFX tutorial before proceeding further. [role="bare"https://www.tutorialspoint.com/javafx/]