DepartmentRemote.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:
Java编程
开发平台:
Java
- package bible.ejb.entity.cmp;
- import java.rmi.RemoteException;
- import java.util.Collection;
- import javax.ejb.*;
- import javax.naming.*;
- public interface DepartmentRemote extends EJBObject
- {
- public DepartmentVO getDepartmentData() throws RemoteException;
- public void setDepartmentData(DepartmentVO dept) throws RemoteException;
- public void addCourse(CourseVO courseData) throws NamingException, CreateException, RemoteException;
- public CourseVO[] getAllCourses() throws RemoteException;
- }