Spring – Init Method and Destroy Method
Concept Overview Sometimes, after Spring beans are created, they need to perform some additional initialization operations so that they can carry out their responsibilities. e.g. When an ATM (Automated Teller Machine) system is started, it needs to connect to its bank’s network. Similary, sometimes Spring beans need to peform some cleanup operations before it gets … Read more