Results 1 to 2 of 2

Thread: About DAO Design pattern

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Answers
    1

    About DAO Design pattern

    what are the disadvantages of DAO design patterns?


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact