Solved

Dao pattern

Posted on 2014-11-19
1
102 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
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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

820 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