File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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