Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 110
  • Last Modified:

Dao pattern

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
roy_sanu
Asked:
roy_sanu
1 Solution
 
dpearsonCommented:
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now