In your application if you want to use different datasources then dao is an option.Otherwise if your application has to access data from just one database then Dao would't make much sense.
Jari Timonen
Ranch Hand
Joined: Jan 16, 2004
Posts: 230
posted
0
guru prasanth wrote:In your application if you want to use different datasources then dao is an option.Otherwise if your application has to access data from just one database then Dao would't make much sense.
Dao is good way in isolate DB/LDAP (even with JPA). Application/service layer does not need to know what's "back there".
SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
srivastava ashish
Greenhorn
Joined: Apr 12, 2010
Posts: 28
posted
0
Using DAO will be help even in JPA specially in case of multiple DataSources.
vikram kumar
Ranch Hand
Joined: Aug 01, 2005
Posts: 58
posted
0
Thanks All , I plan to have DAO Layer in my JPA implementation.
Regards,
Kumar
vikram kumar
Ranch Hand
Joined: Aug 01, 2005
Posts: 58
posted
0
Should we need to have JSF Backed Bean in the Class Diagram and Sequence Diagram, I thought of not to mention it, as its part of the framework. Kindly please through some light on this.
Regards,
Kumar
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.