RUI个人博客 首页>>redisson

spring集成redis客户端jedis以及redisson

spring集成redis客户端jedis以及redisson

集成jedis实例,xml方式 集成前引用的jar !--kl add redis client-- dependency groupIdredis.clients/groupId artifactIdjedis/artifactId version2.9.0/version /dependency !-- https://mvnrepository.com/artifact/commons-pool/commons-pool -- dependency groupIdorg.apache.commons/groupId artifactIdcommons-pool2/artifactId version2.2/version /dependency spring bean配置xml ?xml version="1.0" encoding="UTF-8"? beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSc...

阅读全文 »