SHOPPING CART, it is clear that it is always necessary to exist and save the user's selection information during a user's shopping, so it is the most appropriate selection with Stateful Session Bean. The associated interfaces and classes are: ShoppingCartLocalHome, ShoppingCartLocal, and ShoppingCart. There is a CARTITEM HashMap in the ShoppingCart class to save the information selected by the user.
In EJB Control, GetShoppingClientFacade method returns an application of a ShoppingClientFacadelocal interface, and its getShoppingCart method returns the current use of Shopping Cart.
Class Diagram: