Review
In the previous section, we have implemented the Java classes and discussed the Redis service. In this section, we will write the configuration files for enabling Spring MVC and Redis support.Table of Contents
Part 1: Introduction and Functional SpecsPart 2: Redis setup
Part 3: Java classes
Part 4: XML configuration
Part 5: HTML (with AJAX)
Part 6: Running the Application
Configuration
To enable Redis support, we need to declare the following beans- a Redis connection factory
- a Redis template
- Optionally, we declared an InitRedisService to automatically populate our database with sample data
Finally, here's our applicationContext.xml file
Next
In the next section, we will create the HTML and JavaScript files. Click here to proceed.
Share the joy:
|
Subscribe by reader Subscribe by email Share
I have read your blog its very attractive and impressive. I like it your blog.
ReplyDeleteSpring online training Spring online training Spring Hibernate online training Spring Hibernate online training Java online training
spring training in chennai spring hibernate training in chennai