In a three-layered architecture, where is the DAO pattern located? Is it in the business logic layer or in the data layer?
In a three-layered architecture, where is the DAO pattern located?
397 Views Asked by Claudia At
1
There are 1 best solutions below
Related Questions in DAO
- Hibernate : session.get(...) vs session.getNamedQuery(...)
- How do I write unit test (JUnit) to check Database connection using DAO class?
- What's the difference beetwen EntityManager and DAO?
- spring jdbcdaosupport returns null
- Syntax for DAO 'Like' Select Query
- Junit tests in Java (Spring, MVC) for DAO and Service
- Casting a list of objects to another one
- sqlcommand not properly ended
- Spring Boot and Dao
- Android - GreenDao create/use entity and Dao class for existing sqlite database. Use greenDao with existing db
- Converting ADODB Loop into DAO
- Java DAO implementation setObjects
- I can´t scroll my jtable although i have a scrollpane
- How to build a query using Hibernate Criteria and Projections
- Can I check Value in DAO Recordset field during update process?
Related Questions in THREE-TIER
- Three-tier architecture , ioT device in presentation layer?
- In a three-layered architecture, where is the DAO pattern located?
- This function can only be invoked from LINQ to Entities
- Where do models belong in my solution?
- Entity gets detached when should be managed
- What to return from service to ASP MVC web app?
- Three-tier architecture system with Android clients without REST
- The type or namespace name 'Sclient' could not be found in 3 tier application
- what is the difference between 3 tier architecture and a mvc?
- WCF—How many methods are too much?
- Architecture and packages
- Why data layer is used while we can write most of the code in stored procedures?
- What is wrong with my code? Showing Unhandled Exception: System.IO.FileNotFoundException
- Practical way for separate Entity classses (DTO) from EDMX
- How to add values in remaining columns of specific DataTable row?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm not sure that thinking in terms of layering is useful anymore.
We used to have 2-tier client-server, with all the logic in the client and a database running on a server.
We evolved to 3-tier, usually associated with MVC model-view-controller. There wasn't a mention of data access objects in the original Smalltalk MVC pattern.
Now I think view and controller generally go together, splitting rendering of the user interface between client and server. Controllers have business logic and interact with many web and data access services. Data access objects would be used by controllers to deal with data sources. Call that whatever layer you wish.
I don't think of microservices as a layer. Perhaps the usefulness of the concept has diminished.