Stateful « EJB « JSP-Servlet Q&A





1. Java: Tracking a user login session - Session EJBs vs HTTPSession    stackoverflow.com

If I want to keep track of a conversational state with each client using my web application, which is the better alternative - a Session Bean or a HTTP Session - ...

3. Tune stateful EJB configurations    coderanch.com

5. Stateless EJB seems Stateful in action!    coderanch.com

Hello I think I'm getting nuts or it's something I don't get! My Stateless beans behave like Statefull. Please take a look at my simple EJB and client class. My Stateless EJB: @LocalBean @Stateless(name="Example", mappedName="ejb/cookbookJNDI") @WebService public class CookbookBean implements CookbookInterface, CookbookBeanLocal { @EJB CookbookEao eao; @EJB Conversion conv; List countries = new ArrayList(); /** * Default constructor. */ public CookbookBean() ...