In this post under Apache pool, I will show with example how to clear idle objects from the pool. For our example lets create a pool with 5 objects and then make 3 out of them idle. I will then show how to clear those 3 idle objects. Below is the complete main code for…… Continue reading Clearing ObjectPool of Idle objects