⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usermanager.java

📁 EJB实践的服务器是用SUN的服务器
💻 JAVA
字号:
package examples;import javax.ejb.*;import java.rmi.RemoteException;import java.rmi.Remote;/** * This is the UserManager remote interface. * * This interface is what clients operate on when * they interact with EJB objects.  The container * vendor will implement this interface; the * implemented object is the EJB object, which * delegates invocations to the actual bean. */public interface UserManager extends EJBObject {        /**     * It uses the customer entity bean to crate a record in the databse     */    public void createUser(User user)throws RemoteException;        /**     * Returns an user object for the given customer id.     * It uses customer entity bean to retrieve the user record.     */    public User getUser(String customerId) throws RemoteException;        /**     * Authenticate the user.     */    public boolean validateUser(String login, String password)throws InvalidPasswordException,RemoteException; }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -