StudentFacade.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:
Java编程
开发平台:
Java
- package day21ex.studentfacade;
- import java.util.*;
- import javax.ejb.*;
- import java.rmi.RemoteException;
- import day21ex.signon.*;
- public interface StudentFacade extends EJBObject {
- public void addUser(String userName, String password) throws RemoteException;
- public void addStudent(String loginName, String password, String firstName,
- String lastName, String address, String emailAddress) throws RemoteException;
- public boolean validateUser(String login, String password)
- throws InvalidLoginException, RemoteException;
- public void addCourses(String[] courseIds) throws RemoteException;
- public Collection getCartItems() throws RemoteException;
- public void empty() throws RemoteException;
- public Vector getCourseItemList() throws RemoteException;
- public String placeOrder() throws RemoteException;
- /* day 21 exercise */
- public Collection getStudentEnrollments()
- throws RemoteException;
- }