Spring bean life cycle method
2 min readFeb 29, 2020
BY USING WE CAN CLOSE Resource in STANDALONE APPS
Interview Question ?
close() method vs registershutdownhook()
Both method use for close the resource
case 1- close() method