I have a factory object which returns a transient CORBA object to the client which will be a servlet. The object reference will be stored in the servlet session object on a per user basis.

Aditya Kiran Gavvala

deactivate_object(..) call removes an entry from ObjectActivationMap (maintained by the POA). If your servant objects maintain any system resources (like JDBC connections/ file handle etc) you may want to provide some cleanup() methods in your IDL interfaces and call them before calling for deactivation.