Spring's approach to exception handling

Spring takes a different approach to this problem. It makes most of the exceptions unchecked. The code becomes simple as shown in the following example:

    jdbcTemplate.update(INSERT_TODO_QUERY, 
bean.getDescription(),bean.isDone());

The update method in JDBCTemplate does not declare throwing any exceptions.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset