Hi,
Following is Petstore components description.
ShoppingCartEJB�(Stateful) maintains the contents of an individual user�s virtual shopping cart
ShoppingControllerEJB�(Stateful) provides access to the Shopping Client Facade; extends the WAF EJB controller (EJBControllerLocalEJB)
ShoppingClientFacadeEJB�(Stateful) caches references and provides unified access to customer, shopping cart, and user ID
So I think there are 2 channels(web controllers) to
EJB layer
1. For stateless logic - EJBController -->EJBaction--->SLSB.
2. For stateful logic (which is only shopping cart)
ShoppingControllerEJB--SFSB.
I am not clear if in (2) if there are any actions involved. The shopping cart desription says following
The Web tier maintains a reference to the EJB-tier controller in an HttpSession attribute. The EJB-tier controller�s method getShoppingClientFacade returns a reference to a ShoppingClientFacadeLocal interface. The shopping client facade�s
getShoppingCart method returns the current session�s shopping cart.
Can anybody please explain?