Solved

Dao pattern

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

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn how to implement Singleton Design Pattern in Java.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now