RMI
<make remote interface>
1. extends java.rmi.remote
2. exception RemoteException at all
3. return value is primitive or serializable.
<make service class>
1. make remote interface
2. extends UnicastRemoteObject
3. make Remoteexception
4. registring
<make stub and skeleton>
1. execute RMIC
2. result is 2class maked
a. _Stub
b. _Skel
<execute rmiregistry>
1. rmiregistry
2. start service
1. extends java.rmi.remote
2. exception RemoteException at all
3. return value is primitive or serializable.
<make service class>
1. make remote interface
2. extends UnicastRemoteObject
3. make Remoteexception
4. registring
<make stub and skeleton>
1. execute RMIC
2. result is 2class maked
a. _Stub
b. _Skel
<execute rmiregistry>
1. rmiregistry
2. start service
댓글
댓글 쓰기