Hi everibody
I have a stateful session bean that initializes a Collections.synchronizedList, I add products to the list and check the list, it works(all during the same session). But when I restart the browser it doesn't show me the list.
After watching the console I have discovered that the bean is created again.
In my code i can access my bean only if i'm in the current http session.. and it doesn't work properly
Here is the code in my
Servlet:
if i can't find my bean i instantiate a new one via lookup..
but how can i access an existing bean?
without creating a new one each http session?