Tuesday, 29 March 2016

SOP - Software Object Pooling

SOP - Software Object Pooling

SOP tells that rather a creating an object again and again, use of connection pool.
Re-usability of object critical is important. You should manage pool on your own. Life-cycle management of pool is tedious task.

Connection pool
Data source connection pool mechanism is made mandated to all J2EE servers from Java Soft.

java.sql.Connection satisfies the following things declared by SOP.

1) Costly to create connection.
2) Very frequently used
3) Difficult to deploy(GC)

No comments:

Post a Comment