?? server.java
字號:
import java.rmi.*;
import java.rmi.server.*;
public class Server{
public static void main(String[] args) {
try{
app1 app = new app1();
Naming.rebind("rmi://127.0.0.1:8080/Server");
System.out.println("Server created and bound in the registry to rmi://127.0.0.1:8080/Server");
}
catch(Exception e){
System.out.println("Exception error");
e.printStackTrace();
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -