Struts Tutorials:
Struts2 Tag CheckBoxList , Checkbox, Iterator, IF
Struts2 Tag Library Example
Struts2 Tiles Example
Struts2 Tiles I18N Example
Struts2 Questions
Struts Tiles I18N Example
Struts Eclipse MVC
Struts2 Tags
Struts2 Example and Tutorial
Struts MVC
Struts2 Validation
Hibernate Tutorials:
Hibernate Case Study
Class Hierarchy Persist Example
Using Hibernate Interceptor
Hibernate Questions with Answer
Hibernate Many-to-Many Mapping Example
Hibernate one-to-many Mapping Example
Hibernate and ORM tools
Spring Hibernate Example
Hibernate SessionFactory Example
Hibernate Mapping Class Hierarchy
Hibernate Questions
Hibernate SessionFactory Questions
Spring Hibernate Example:
Spring Hibernate Case Study
Written By : Amit
Title :
Data Access Object
Description :
DAO A simple example and guide More...
|
Written By : ISHTEK
Title :
Session Facade
Description :
Advantages Discussed More...
|
Written By : ISHTEK
Title :
DAO Data Access Object
Description :
Advantages Discussed More...
|
Written By : ISHTEK
Title :
Business Delegate
Description :
Advantages or Benefits discussed More...
|
| Advantages-Discussed - DAO-Data-Access-Object - J2EE-Design-Patterns Example Author : ISHTEK Date (Year/Month/Date): 2009-05-26
Advantages or Benefits of Data Access Object J2EE Design Pattern
What are the benefits or advantages of Data Access Object (DAO) J2EE
Design Pattern ?
Data access, be it database, or webservices or LDAP, JMS, RMI, or
anything else, requires ways to de-couple business layer from database
access.
I think,
1. Data Access Object (DAO) Design Pattern can de-couple data
access related code like java.sql package api, webservices apis etc from
business/client layer/code.
2. Data Access Object (DAO) Design Pattern can be stateless for
concurrency and scalable system.
3. Data Access Object (DAO) Design Pattern can encapsulate datastore
related exception handling from client / caller code.
4. Data Access Object (DAO) Design Pattern can be easy to mock up
data access for early in developement, and unit testing to happen.
5. Data Access Object (DAO) Design Pattern can provide simple to use
abstraction to the data acess API.
These are my own understanding only, If you are interested in adding or
contracting any of these, you are most welcome to do so just by writing or
commenting on this Page.
| |