Spring 5.0 Cookbook
上QQ阅读APP看书,第一时间看更新

Creating a service layer in an MVC application

If the DAO layer manages the persistence of data, given the data models and Spring JDBC's JdbcTemplate and SimpleJdbcInsert, the service layer, on the other hand, exposes all DAO transactions through its own set of interfaces and implementations. This recipe will close the whole chapter regarding how to assemble a Spring MVC application.