0 votes
12 views

What is Data Access Object Pattern(DAO) pattern?

in Education by (48.2k points)

1 Answer

0 votes

What is Data Access Object Pattern(DAO) pattern?

Data Access Object Pattern or DAO pattern is used to separate low level data accessing API or operations from high level business services. Following are the participants in Data Access Object Pattern.

Data Access Object Interface - This interface defines the standard operations to be performed on a model object(s).

Data Access Object concrete class - This class implements above interface. This class is responsible to get data from a data source which can be database / xml or any other storage mechanism.

Model Object or Value Object - This object is simple POJO containing get/set methods to store data retrieved using DAO class.

by (48.2k points)

Related questions

0 votes
1 answer 12 views
0 votes
1 answer 11 views
11 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 12 views
0 votes
1 answer 12 views
0 votes
1 answer 10 views
0 votes
1 answer 20 views
0 votes
1 answer 11 views
0 votes
1 answer 12 views
12 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 12 views
12 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 12 views
12 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 11 views
11 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 8 views
8 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 10 views
10 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 10 views
10 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 10 views
0 votes
1 answer 10 views
10 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 8 views
8 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 13 views
13 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 11 views
11 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
...