Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

Pool Overview

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0ea7aa21-ac68-4118-be3c-955eb847f772"><ac:plain-text-body><![CDATA[ {{

http://jakarta.apache.org/commons/pool/images/pool-logo-white.png

}}

[http://jakarta.apache.org/commons/pool/ Commons-Pool] provides a generic object pooling interface, a toolkit for creating modular object pools and several general purpose pool implementations.[BR]
A lot of information is available on the [http://jakarta.apache.org/commons/pool/ Pool website]. If you don't find the information you need you can always contact us using one of the [http://jakarta.apache.org/site/mail2.html#Commons mailing lists]. ]]></ac:plain-text-body></ac:structured-macro>

External Resources

Do you have a good example, add it here!

Articles

  • Wiki Markup\[http://www.devx.com/Java/Article/30117 Extend the JDK Classes with Jakarta Commons, Part III\] - Explore Jakarta Commons components that enable you to parse arguments in a command-line application, connect to various file systems at the same time, allow an application to uniformly access configurations loaded from various sources, and pool any object. \\

FAQ

Q: How can I reinitialize GenericObjectPool after a network failure? (factory = PoolableConnectionFactory)

...

Q: What is the general purpose of pooling Interfaces ?unmigrated-wiki-markup

A: ''You don't pool interfaces but objects implementing the interfaces. An object pool is used to reduce the cost of creating/destroying the pooled object (memory,CPU and other resources). Commons-Pool provides several general purpose implementations of different pooling strategies. See also \[http://jakarta.apache.org/commons/pool/guide/index.html developers guide\].

...

PoolRoadMap

...