April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Spring DAO Templates
nBuilt in code templates that support JDBC, Hibernate, JDO, and iBatis SQL Maps
nSimplifies data access coding by reducing redundant code and helps avoid common errors.
nAlleviates opening and closing connections in your DAO code. 
nNo more ThreadLocal or passing Connection/Session objects.
nTransaction management is handled by a wired bean
nYou are dropped into the template with the resources you need for data access – Session, PreparedStatement, etc.
nCode only needs to be implemented in callback methods.
ndoInXXX(Object)
nOptional separate JDBC framework