Using Spring Cache Provider
NCache provides users with two options to integrate their Spring applications with NCache:
- Using the NCache implementation of caching abstractions.
- Using Spring Sessions.
After configuring your Spring application (i.e., adding maven packages and ensuring bean definitions), 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.
Spring Sessions
Explains how to configure Spring applications to use NCache with Spring Sessions.