| Trader.java |
1 /*
2 * @(#) $Id: Trader.java,v 1.2 2003/07/08 08:13:52 pankaj Exp $
3 *
4 * Copyright (c) 2002-03 by Pankaj Kumar (http://www.pankaj-k.net).
5 * All rights reserved.
6 *
7 * The license governing the use of this file can be found in the
8 * root directory of the containing software.
9 */
10package rba;
11
12import java.rmi.RemoteException;
13import javax.ejb.EJBObject;
14
15
16public interface Trader extends EJBObject {
17
18 public TradeResult buy (String stockSymbol, int shares)
19 throws RemoteException;
20 public TradeResult sell (String stockSymbol, int shares)
21 throws RemoteException;
22}
23