DAO Pattern Explain Plz

Hi FormIn J2ee DAO PatternUsing the DataSource , Is it necessary to create Connection POOL or NOTfor faster Data access from EIs tire.with regardsKarthik
[195 byte] By [nskarthik_ka] at [2007-10-2 2:38:38]
# 1
http://forum.java.sun.com/thread.jspa?threadID=671543
yawmarka at 2007-7-15 20:30:49 > top of Java-index,Other Topics,Patterns & OO Design...
# 2

hi

If u want to faster data access then it's must be create a connection pool.

Basic Idea behind DAO is provide basic services like , one abstract DAO or FactroyDAO provid a connection and other service.u provide a only data as input or parameter.

1. if you don't use connection pooling, and instead create a new connection every time in DAO object wasteful ..

2.Reduced connection creation time using polling.

thx

itcube.ians

itcube.iansa at 2007-7-15 20:30:49 > top of Java-index,Other Topics,Patterns & OO Design...