login.java

来自「一个基于BMP的EJB例子」· Java 代码 · 共 32 行

JAVA
32
字号
package zhxt.login.ejb;
import javax.ejb.ObjectNotFoundException;
import zhxt.login.ejb.LoginKey;
/**
 * Remote interface for Enterprise Bean: Login
 */
public interface Login extends javax.ejb.EJBObject {
	
	/**
	 * Returns the username.
	 * @return String
	 */
	public String getUsername() throws java.rmi.RemoteException;
	/**
	 * Sets the username.
	 * @param username The username to set
	 */
	public void setUsername(String username) throws java.rmi.RemoteException;
	/**
	 * Returns the password.
	 * @return String
	 */
	public String getPassword() throws java.rmi.RemoteException;


	/*
	 *判断用户密码是否正确 
	 */

	public boolean isPass(String uname,String passwd) throws java.rmi.RemoteException;
}

⌨️ 快捷键说明

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