-
Junior Member
About DAO Design pattern
what are the disadvantages of DAO design patterns?
-
Contributing Member
Re: About DAO Design pattern
advantages:
• simple – can be understood by most java developers
• separation of data (dto) and behaviour (dao)
• designed for distributed architectures (dto classes can be passed between tiers and dao classes can be exposed as j2ee session beans or web services)
• no runtime container required (dao code can be unit tested on the client)
• can result in highly efficient code if dao code is designed to take advantage of database capabilities (stored procedures, joins, etc).
disadvantages:
• requires large volumes of implementation code to be written (unless a dao code generator is being used)
• writing code to navigate the object model requires some understanding of the database schema
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules