Tag

Apache Commons Pool

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Feb 19, 2025 · Backend Development

Using Apache Commons Pool for Object Pooling and Jedis Connection Pool in Java

The article explains how to use Apache Commons Pool to create reusable object pools in Java—showing Maven setup, a custom PooledObjectFactory, pool configuration, borrowing and returning objects, and demonstrates a Redis Jedis connection pool built on the same framework while detailing the pool’s initialization, borrowing, and return mechanisms.

Apache Commons PoolBackend DevelopmentConnection Pool
0 likes · 8 min read
Using Apache Commons Pool for Object Pooling and Jedis Connection Pool in Java
Code Ape Tech Column
Code Ape Tech Column
Dec 27, 2024 · Backend Development

Object Pool Pattern: Principles, Apache Commons Pool Implementation, and Practical Use Cases

This article explains the object pool design pattern, its working mechanism, advantages and disadvantages, and provides step‑by‑step Java code using Apache Commons Pool along with real‑world examples for web servers and game development to improve performance and resource management.

Apache Commons PoolDesign PatternJava
0 likes · 14 min read
Object Pool Pattern: Principles, Apache Commons Pool Implementation, and Practical Use Cases
Code Ape Tech Column
Code Ape Tech Column
Jul 22, 2024 · Fundamentals

Object Pool Pattern: Principles, Apache Commons Pool Implementation, and Practical Use Cases

This article explains the object pool design pattern, its working mechanism, step‑by‑step Java implementation using Apache Commons Pool, advantages and disadvantages, and real‑world scenarios such as web server connection pooling and game object management, helping developers improve performance and resource utilization.

Apache Commons PoolDesign PatternJava
0 likes · 13 min read
Object Pool Pattern: Principles, Apache Commons Pool Implementation, and Practical Use Cases
Code Ape Tech Column
Code Ape Tech Column
Mar 9, 2023 · Fundamentals

Object Pool Pattern: Principles, Apache Commons Pool Implementation, and Practical Use Cases

This article explains the object pool design pattern, its working mechanism, step‑by‑step Java implementation using Apache Commons Pool, advantages, drawbacks, and real‑world scenarios such as web server connection pooling and game object reuse, providing complete code examples.

Apache Commons PoolDesign PatternJava
0 likes · 12 min read
Object Pool Pattern: Principles, Apache Commons Pool Implementation, and Practical Use Cases