e hënë, 18 qershor 2007

Diff. betw. DriverManager and DataSource interface implementation

DriverManager.
-------------------------------
- hampers the application performance as the connections are created/closed in java classes.
- does not support connection pooling.

DataSource
-------------------------------
- improves application performance as connections are not created/closed within a class, they are managed by the application server and can be fetched while at runtime.
- it provides a facility creating a pool of connections
- helpful for enterprise applications

Nuk ka komente: