This commit is contained in:
yinkanglong
2023-10-21 09:48:50 +08:00
parent 5ef2c996cf
commit b2f069ee8d
555 changed files with 1886 additions and 506 deletions

View File

@@ -0,0 +1,19 @@
package cn.aofeng.demo.java.rmi;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* 用户信息服务。
*
* @author <a href="mailto:aofengblog@163.com">聂勇</a>
*/
public interface UserService extends Remote {
public User findByName(String name) throws RemoteException;
public User findById(String id) throws RemoteException;
public boolean add(User user) throws RemoteException;
}