Chapter 6. Improving Application Performance Using Caching Patterns
In previous chapters, we have seen how Spring works in the backend to access data for the application. We also saw how the Spring JDBC Module provides the JdbcTemplate
helper class for database access. Spring provides support for integration with ORM solutions such as Hibernate, JPA, JDO, and so on, and manages transactions across application. Now, in this chapter, we will see how Spring provides caching support to improve application performance.
Do you ever face a volley of questions from your wife when you return home very late in the night from your office? Yes, I know it is very irritating to answer so many questions when you are tired and exhausted. It is even more irritating when you're asked the same questions over and over again..
Some questions can be answered with a Yes or No, but for some questions, you have to explain in detail. Consider what will happen if you are asked another lengthy question again after some...