This month, Paul Furbacher will make a presentation on the Spring Data JPA repositories.
Data access in Java applications has always involved a lot of boilerplate typing.
Earlier versions of Spring made things more succinct with classes like JdbcTemplate , HibernateTemplate , and so on.
However, a lot of repetitive coding remained.
Recently, Spring has added the Spring Data suite of projects which aim at reducing that load through the use of annotations.
With respect to JPA, to quote the Spring folks, "Spring JPA aims to significantly improve the implementation of data access layers by reducing the effort to the amount that's actually needed.
As a developer you write your repository interfaces, including custom finder methods, and Spring will provide the implementation automatically."
|