If a client does not refresh the connection to the remote object before the lease term expires, the reference is considered to be dead and the remote object may be garbage collected.
I read that unreferenced() could be called more than once for a given object. Is that right and what is that dependant on?
The client will renew each lease when it is halfway expired. If the lease interval is too short, the client will waste a lot of network bandwidth needlessly renewing its lease. If the lease interval is much too short, the client will be unable to renew the lease in time, and the exported object may be deleted as a result.
it was discussed that the specification for close() on Connection should agree with that of Data
If all this is necessary then the best way of doing it would be to check for null at the beginning of each method which accesses the database, and throw ....
However, the criteriaFind() method is only able to throw a DatabaseException.. (or did i delete the IOException
Or is it fair to add an IOException since it is accessing the database?
This method closes the database, flushing any outstanding
writes at the same time. Any attempt to access the
database after this results in a IOException.
hence the lack of a straight reply in your previous posts
Although, do you accept that we are changing existing code which is supposed to be complete? This is certainly something which should be documented.
However do you think i have a strong enough case to defend my ground?