BaseKeyedPooledObjectFactory example

In the previous post under Apache Pool, I showed you with example how to use “KeyedPooledObjectFactory” interface to create an object pool. In this post I will show how to use “BaseKeyedPooledObjectFactory” class provided Apache Pool framework. We created our own implementation of “KeyedPooledObjectFactory” interface in the previous post as shown below. I have added…… Continue reading BaseKeyedPooledObjectFactory example

BasePooledObjectFactory class Example

In the previous post under Apache Pool, I showed you with example how to use PooledObjectFactory interface to create an object pool. In this post I will show how to use “BasePooledObjectFactory” class provided Apache Pool framework. We created our own implementation of PooledObjectFactory interface in the previous post as shown below. I have added…… Continue reading BasePooledObjectFactory class Example