最新 最热

稍微总结一下。怎样读源码

这个hello world非常简单,通过xml文件,创建一个容器context,然后从容器中获取一个bean。

2022-12-15
5

SpringBoot:模块探究之spring-boot-autoconfigure

顾名思义,Autoconfigure 就是自动配置的意思,SpringBoot 通过 spring-boot-autoconfigure 体现了 “约定优于配置” 这一设计原则!spring-boot-autoconfigure 也是 SpringBoot 最重要的模块之一!...

2022-12-15
3

spring 定时几种实现方式

项目中要经常事项定时功能,在网上学习了下用spring的定时功能,基本有两种方式,在这里进行简单的总结,以供后续参考,此篇只做简单的应用。

2022-12-15
3

实现websocket的两种方式

1.两种方式,一种使用tomcat的websocket实现,一种使用spring的websocket

2022-12-15
10

Spring AOP详解

AOP(Aspect Oriented Programming),即面向切面编程,可以说是OOP(Object Oriented Programming,面向对象编程)的补充和完善。OOP引入封装、继承、多态等概念来建立一种对象层次结构,用于模拟公共行为的一个集合。不过OOP允许开...

2022-12-15
13

classpath和classpath*的区别及classpath到底是什么

通常我们一般使用这种写法实在web.xml中,比如spring加载bean的上下文时,如下:

2022-12-15
5

spring boot 整合mybaits 怎么在控制台打印sql语句

在上一篇《spring boot 和mybatis整合打印sql语句》有网友说这样打印不出来。今天凯哥就给大家介绍第二种打印方式:在resource文件夹下新建:logback.xml

2022-12-15
7

mybatis整合spring boot错误:.getTimeout()Ljava/lang/Integer;

在使用spring boot整合mybatis的时候,因为使用了自定义的分页拦截器。所以,依赖的jar有所升级。

2022-12-15
8

spring boot 和mybatis整合打印sql语句

<logger name="com.kaigejava.project.mapper" level="DEBUG"/>

2022-12-15
16

spring 整合 redis,以及spring的RedisTemplate如何使用

需要的jar包 spring-data-redis-1.6.2.RELEASE.jar jedis-2.7.2.jar(依赖 commons-pool2-2.3.jar) commons-pool2-2.3.jar

2022-12-15
8