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

📄 employeehome.java

📁 使用EJB开发的微型人力资源管理平台
💻 JAVA
字号:
package enroll.welfareejb;

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

public interface EmployeeHome extends EJBHome
  {
   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   //这是一个基于Entity Bean的Home接口,这个Entity Bean是基于
   //Container-managed Persistence的Entity Bean,用来对EmployeeTBL表进行操作
   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

   public Employee create(String employee_id, String name) throws DuplicateKeyException,CreateException, RemoteException;
   public Employee findByPrimaryKey(String employee_id) throws ObjectNotFoundException,FinderException, RemoteException;
   public Collection findAll() throws FinderException, RemoteException;
 }	

⌨️ 快捷键说明

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