Using NCache as Spring’s Caching Provider
NCache provides users with two options to integrate their Spring applications with NCache to help with their scalability:
- Using the NCache implementation of caching abstractions.
- Using the JCache caching implementation.
After configuring your Spring application (i.e., adding maven packages and ensuring bean definations), you must bind these caching behaviors using the caching declarations detailed in this section.
In this Section
Configure Spring Caching Provider
Explains the basic steps of defining configurations through the NCache Generic Spring Caching Provider.
Configure JCache Spring Caching Provider
Discusses how to configure your application through the JCache Spring Caching Provider using the NCache JSR-107 implementation.
Configure Caching Declaration
Discusses how to configure your application through caching annotations and the Custom Key Generator.