KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > tutorial > jboss_deployment_descriptor > bean > ShoppingCart


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.tutorial.jboss_deployment_descriptor.bean;
8
9 import java.util.HashMap JavaDoc;
10 import javax.ejb.Remove JavaDoc;
11
12 public interface ShoppingCart
13 {
14    void buy(String JavaDoc product, int quantity);
15    
16    void priceCheck(String JavaDoc product);
17
18    HashMap JavaDoc<String JavaDoc, Integer JavaDoc> getCartContents();
19
20    void checkout();
21 }
22
Popular Tags