KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > stests > appli > OrderPlacement


1 // OrderPlacement.java
2

3 package org.objectweb.jonas.stests.appli;
4
5 import java.rmi.RemoteException JavaDoc;
6 import javax.ejb.EJBObject JavaDoc;
7 import java.util.Vector JavaDoc;
8 /**
9  * OrderPlacement remote interface
10  */

11 public interface OrderPlacement extends EJBObject JavaDoc {
12
13     /**
14      * Place an order.
15      * <p>
16      * @param wID String Warehouse ID
17      * @param dID String District ID
18      * @param cID Integer Customer ID
19      * @param orderLines Vector of OrderDetail objects. Each OrderDetail
20      * object represents one line item on the order.
21      * @return float The order id assigned to the order.
22      * @exception javax.ejb.RemoteException
23      */

24     public float placeOrder(String JavaDoc wID, String JavaDoc dID, Integer JavaDoc cID,
25                             Vector JavaDoc orderLines) throws RemoteException JavaDoc;
26     
27
28
29 }
30
Popular Tags