Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

kill RMI process close all open connections?  RSS feed

 
ahmet oguz
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I run my rmi server class in REdhat. it is waiting for client to run its methods. In RMI Server class there are db connections, open files etc. I wrote
finalize method and in this method close all this db connections, open files etc.
if i kill process with kill -9, these connections are closed or not? JVM call server class finalize method?
Thanks,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!