Stella981 Stella981
4年前
SpringBoot集成redis + spring cache
SpringCache集成redis的运行原理:Spring缓存抽象模块通过CacheManager来创建、管理实际缓存组件,当SpringBoot应用程序引入springbootstarterdataredi依赖后吗,容器中将注册的是CacheManager实例RedisCacheManager对象,RedisCacheManager来负责创
Stella981 Stella981
4年前
Dubbo通过注解实现RPC调用
启动Dubbo服务有2个方式,1是通过xml配置,2是通过注解来实现,这点和Spring相似。采用XML配置如下:<?xmlversion"1.0"encoding"UTF8"?<beansxmlns"http://www.springframework.org/schema/beans"
Stella981 Stella981
4年前
Spring WebFlux和Spring Cloud开发响应式微服务
作者:PiotrMińkowski译者:大萝卜爱上小白菜原文:https://dzone.com/articles/reactivemicroserviceswithspringwebfluxandspr摘要:如果你想用Spring的最新和最好的工具开始使用响应式微服务,那么这篇文章就是为你准备的!我已经在一
Stella981 Stella981
4年前
Spring Boot 最佳实践(五)Spring Data JPA 操作 MySQL 8
一、SpringDataJPA介绍JPA(JavaPersistenceAPI)Java持久化API,是Java持久化的标准规范,Hibernate是持久化规范的技术实现,而SpringDataJPA是在Hibernate基础上封装的一款框架。开发环境Spring
Easter79 Easter79
4年前
Spring错误——Spring AOP——org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWorldException
背景:学习切面,测试前置通知功能,xml配置如下<?xmlversion"1.0"encoding"UTF8"?<beansxmlns"http://www.springframework.org/schema/beans"xmlns:xsi"http:/
Stella981 Stella981
4年前
GoFramework框架简介(四)dubbo篇
框架中dubbo配置说明:Provider端配置如下:<dubbo:protocolname"dubbo"host"${dubbo.host}"port"${dubbo.port}"/<!服务提供者filter,在Provider上尽量多配置Consumer端属性,配置的覆盖规则:1)
Stella981 Stella981
4年前
Spring Boot 2.4 Windows Scoop 安装命令行工具
如果你使用的是Windows操作系统,你可以使用Scoop来进行安装。你可以通过使用下面的命令来安装SpringBootCLI:scoopbucketaddextrasScoop将会把spring安装到~/scoop/apps/springboot/current/bin目录中。有
Stella981 Stella981
4年前
SonarQube规则之漏洞类型
漏洞类型:1、"@RequestMapping"methodsshouldbe"public"漏洞阻断标注了RequestMapping是controller是处理web请求。既使方法修饰为private,同样也能被外部调用,因为spring通过反射调用方法,没有检查方法可视度,2、
Stella981 Stella981
4年前
Redis高可用技术解决方案总结
一、常见使用方式Redis的几种常见使用方式包括:Redis单副本;Redis多副本(主从);RedisSentinel(哨兵);RedisCluster;Redis自研。二、各种使用方式的优缺点1、Redis单副本Redis单副本,采用
王灵官 王灵官
11个月前
2025电脑配置要求(PS、Pr、AE、LRc、AI、AU、ID、DW等)超详细
为了流畅运行Adobe全家桶,包括Photoshop、Illustrator、InDesign、PremierePro、AfterEffects、Audition、ID、dw等软件,您的电脑需要满足以下的硬件配置:一、处理器(CPU):1.为了确保流畅的多