G
gallas.robert
Hi,
Maybe dump question.
What happens when reqest scope bean reference is set in some field of
session scoped bean. Normally at the end of the request request scope
bean should be discarded by Garbage Collector.
What I deduct is that since reference to reqest scope bean exists in
session bean, request scope bean will not be discarded. However after
next request web container will create new request scope bean and old
one will be invalid. Until I save reference to new request scope bean
in session bean. Old one will be not discarded by Garbage collector
even if from web container point of view this objct is invalid.
Is this correct?
Robert
Maybe dump question.
What happens when reqest scope bean reference is set in some field of
session scoped bean. Normally at the end of the request request scope
bean should be discarded by Garbage Collector.
What I deduct is that since reference to reqest scope bean exists in
session bean, request scope bean will not be discarded. However after
next request web container will create new request scope bean and old
one will be invalid. Until I save reference to new request scope bean
in session bean. Old one will be not discarded by Garbage collector
even if from web container point of view this objct is invalid.
Is this correct?
Robert