Data access object: Difference between revisions

Content deleted Content added
Tools: added JDBaccess
add link to [Java Persistence API]
Line 6:
Data Access Objects are a Core [[Java 2 Platform, Enterprise Edition|J2EE]] Design Pattern and considered best practice. The advantage of using data access objects is that any [[Business object (computer science)|business object]] (which contains application or operation specific details) does not require direct knowledge of the final destination for the information it manipulates. As a result, if it is necessary to change where or how that data is stored that modification can be made without needing to change the main application.
 
Data Access Objects can be used in [[Java (programming language)|Java]] to insulate an application from the underlying [[Java Persistence API|Java persistence technology]], which could be [[Java Database Connectivity|JDBC]], [[Java Data Objects|JDO]], [[Enterprise JavaBeans|EJB CMP]], [[TopLink]], [[Hibernate (Java)|Hibernate]], [[iBATIS]], or any one of a range of technologies. Using Data Access Objects means the underlying technology can be upgraded or swapped without changing other parts of the application.
 
== Disadvantages ==