Solved

Dao pattern

Posted on 2014-11-19
1
105 Views
Last Modified: 2014-11-24
Hi,

I would like to know what would  the best approaches for the building a DAO pattern
In terms of technology . which Technology would be the best to suit and why ?

Thank you
0
Comment
Question by:roy_sanu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 27

Accepted Solution

by:
dpearson earned 500 total points
ID: 40453165
In the Java world there are 2 (maybe 3) big players in the DAO space:

Hibernate is the old dog (http://hibernate.org/).  Most people I know have moved away from it (too big and complex).

MyBatis is the new dog (http://mybatis.github.io/mybatis-3/) (lighter, simpler)

and some folks prefer Spring JDBC (if you're already into Spring)
http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/jdbc.html

Of course framework preferences like this tend to turn into religious wars - but just observing the industry usage from the folks I know MyBatis is the one that's rising fastest these days.  But your mileage may vary :)

Doug
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question