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

📄 readerinforemoteint.java

📁 java EJB 编程源代码。
💻 JAVA
字号:
package library.ejb;

import java.util.*;
import java.rmi.RemoteException;
import javax.ejb.EJBObject;

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//这是Entity Bean的Remote接口
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

public interface ReaderInfoRemoteInt extends EJBObject
  {
   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
   //建立三个business方法:setReaderInfo(),setCardID(),setPassword()
   //这三个business方法必须与Bean Class中的business方法相对应
   //这三个方法用来获取用户提交的数据。
   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

   public void setReaderInfo(String readname,String cardid,String password,String Address,String email) throws RemoteException;
   public void setReadName(String readname) throws RemoteException;
   public void setCardID(String cardid) throws RemoteException;
   public void setPassword(String password) throws RemoteException;
   public void setAddress(String address) throws RemoteException;
   public void setEmail(String email) throws RemoteException;

   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
   //建立三个business方法:getReaderInfo(),getCardID(),getPassword()
   //getReaderInfo()方法返回Hashtable类型的数据,其余两个方法返回String类型
   //这三个business方法必须与Bean Class中的business方法相对应
   //这三个方法用来返回服务器端的数据。
   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

   public Hashtable getReaderInfo() throws RemoteException;
   public String getReadName() throws RemoteException;
   public String getCardID() throws RemoteException;
   public String getPassword() throws RemoteException;
   public String getAddress() throws RemoteException;
   public String getEmail() throws RemoteException;
  }

⌨️ 快捷键说明

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