This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes How does the GC prog identify that the object  is not being associated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How does the GC prog identify that the object  is not being associated" Watch "How does the GC prog identify that the object  is not being associated" New topic
Author

How does the GC prog identify that the object is not being associated

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
How does the GC programs identify a object to be not reffered by any reference.
I am writting a Connection Pooling implementation and I face a similar problem. Once I give a connection how do I come to know whether the user program has chaged the reference from the given connection object. Or if the user program closes the connection object then how do i notify my I ConnectionPool Manager.
In weblogic Connection pooling it gives us an instance of connection object, once we close the Connection object probabaly the weblogic connection pool gets notified and then it reallocates the Connection Object.
Please help me out with some good suggestions.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How does the GC prog identify that the object is not being associated
 
Similar Threads
cleanup on session expiring
how to identify whether an object is destroyed or not?
JDBC 3.0 api Connection pooling
connection pooling using directcoonection problem
connection pooling thru weblogic 7.0