??Java????????
???????????? ???????[ 2013/3/28 10:12:37 ] ????????
??????RMI?У????????????????stub??????????????????????skeleton??
??????δ?????????
????1??????Remote???
?????????????????????????????????????????????????????stub?????????????
????2?????Remote???
???????????????е???????????????y??????????????????????????
????3????rmic????stub??skeleton
???????????????????helper?????????貼????Щ????????Щ?????????????????JDK??????rmic??????????????
????4?????RMI registry ??rmiregistry??
????rmiregistry??綽?????????????????????????stub/helper????
????5???????????
?????????÷?????????У??????????????????????????RMI Registry?????????????????????
????????????
??????????
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
*
* MyRemote.java
*
* ?? ??? TODO
* ?? ???? MyRemote.java
*
* ver ????? ??? ?????? ???????
* ????????????????????????????????????????????????????????????????????????????????????????????
* V1.00 2013-3-19 ??? ?????? ????
*
* Copyright (c) 2013 dennisit corporation All Rights Reserved.
*
* Email:<a href="mailto:DennisIT@163.com">???????</a>
*
*
* Remote??????????????ζ????з????????????RMI??????????壬??????????????????
* ????????????extends????????????????????
*
*/
public interface MyRemote extends Remote{
/**
* ????????????????????????????????????????????????????????????
* ?????????????stub??????stub?????????????????/???????????????????????
* ????????????????????????????????????????÷?????????????????????÷?
* ???????г????????????????????.
*
* ???????????????????????primitive??serializable??.?κ????????????????
* ?????????紫??????????????л?????????????????.???????????????????????
* ?????????????л?
* @return
* @throws RemoteException
* ???н???е??????????????RemoteException
*/
public String sayHello() throws RemoteException;
}
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11