Originally posted by Chris Lewold:
But .... couldnt "release" be called in finalize() of the Stub ??? I know it's not relieable when finalize is called - but IF it is called it is 100% sure the client no longer needs the stateful session bean .... and then it could be returned to the pool ......
I know finalize should be used mainly to clean up handles to external resources and such stuff ..... hmmm .... wouldn't a Stateful session bean fit into that category ?
Originally posted by Chris Lewold:
Assume the client closes. When is the SessionBean actually garbage collected??? How does it know the client no longer needs it ?
Jacky
Keith Rosenfield<br />SCJP<br />SCWCD<br />SCBCD
Jacky
Keith Rosenfield<br />SCJP<br />SCWCD<br />SCBCD
Sudhir V<br />(SCJP 1.2, SCWCD, OCA, SCBCD)