ExecuteTradeRemote.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:0k
源码类别:
Java编程
开发平台:
Java
- package bible.rmi.example4;
- import java.rmi.*;
- import javax.ejb.*;
- /**
- * Remote interface for the ExecuteTrade Session EJB.
- */
- public interface ExecuteTradeRemote extends EJBObject {
- /**
- * Executes an order and alerts the client of the execution.
- * @param order Order to be executed.
- * @param alert Client to be alerted upon execution.
- * @throws RemoteException
- */
- public void executeTrade(Order order, ExecutionAlert alert)
- throws RemoteException;
- }