I have created a shopping cart component (stateful session bean), but I'm confused with the concept, i guess..
When you work with HttpSession you can access the session object doing something like:
and you can access the session in any
servlet, for instance, just by invoking the request.getSession..
Now, when I initialize my Session Bean, I do something like:
once I do this, i can invoke any method of my bean (add items, remove items, etc..). so far so good... but, if I get another request to a different servlet from the same client, for example, how do I get the reference to this session bean?
if I do home.create i will be creating another instance , right?
hope you guys understand...
thanks