Hi there,
I would like to know when exactly the CachedRowSet is going to be eligible for GC. With a little homework I learned that when the user session ends then it would be qualified for GC. Moreover, how is the user session tracked in such cases. What is the "session" here in this context?
Sample scenarios,
Scn 1: When I directly access CachedRowSet from
servlet
Scn 2: When I have a stateless session bean and then a
JDBC call
in Scn1- I can somehow get the session reference and hence i could maintain. How about the Scn 2? I would only have user
thread Id in this case. So how does it work? Is it going to consider the thread id for tracking the existence of the CachedRowSet?
Do we have any good reference articles and links. Correct me if I am wrong somewhere.
Thank you in advance