Multiple choice technology web technology

DAO Design Pattern solves the problem of encapsulating details of connecting to which of the following data sources?

  1. RDBMS

  2. LDAP

  3. XML/Flat files

  4. All of them

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

DAO (Data Access Object) pattern provides an abstraction layer between business logic and data source. It encapsulates all details of connecting to and interacting with data sources, making the application code independent of the underlying data storage mechanism. The pattern can work with any type of data source - relational databases, LDAP directories, XML files, flat files, or even NoSQL stores.