Solved

Dao pattern

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

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

Raise the IQ of Your IT Alerts

From IT major incidents to manufacturing line slowdowns, every business process generates insights that need to reach the people required to take action. You need a platform that integrates with your business tools to create fully enabled DevOps toolchains.

You need xMatters.

Question has a verified solution.

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

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

691 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