正在加载图片...
Home接口 //home interface used by TaxBean package Data; import java. util. Collection; import java rmi RemoteException; import javax. ejb. K public interface TaxHome extends EJBHome public Tax create(string state Code, float taxRate throws RemoteException, Create; public Tax find By Primary key(string primarykey throws RemoteException, FinderException public Collection findInRange float lowerLimit, float upperlimit) throws Remote Exception, FinderException; Entity Bean标准方法 create find By Primary Key(必须具有该方法) 自定义方法 findIn RangeHome接口 ◼ Entity Bean标准方法 ◼ create ◼ findByPrimaryKey(必须具有该方法) ◼ 自定义方法 ◼ findInRange //home interface used by TaxBean package Data; import java.util.Collection; import java.rmi.RemoteException; import javax.ejb.*; public interface TaxHome extends EJBHome { public Tax create(String stateCode, float taxRate) throws RemoteException, CreateException; public Tax findByPrimaryKey(String primaryKey) throws RemoteException, FinderException; public Collection findInRange(float lowerLimit, float upperLimit) throws RemoteException, FinderException; }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有