Spring notes(六) - DAO and ORMapping support

Spring provides all kinds of DAO layers: JdbcDaoSupport: you can get JdbcTemplate. HibernateDaoSupport:you can get hibernateTemplate and SessionFactory JdoDaoSupport: you can get jdoTemplate and PersistenceManagerFactory JpaDaoSupport: you can get jpaTemplate and EntityManagerFactory SqlMapDaoSupport: you can get sqlMapDaoTemplate and SqlMapClient So, you can extend these XxxDaoSupport to expose CRUD APIs. In spring applicationContext.xml, you should inject [...]

By javafuns on March 18, 2008 at 23:35 · Views: 1,508 · Permalink · RSS · 2 Comments
Categorized in: Design Patterns, Java · Tagged with: , ,
  • Highest Rated

  • My PicasaPhotos

    image035.jpg

    IMG_0672.JPG

    IMG_0622.JPG

  • RSS My del.icio.us

  • My RSS