• HOME
  • SEARCH
  • TOPICS
  • DATA

  • Spring Boot 启动后首次请求比较慢

    现象 Spring Boot内置Tomcat容器启动后的第一次请求特别慢,第二次之后就正常了。 日志 INFO [nio-8080-exec-1] o.a.c.

    2022-01-02, Views: 5875 , Topics: Spring Boot Tomcat

  • Spring Boot Tomcat 启动流程

    版本 Spring Boot 2.6.0 启动流程 加载自动配置 spring-boot-autoconfigure-2.6.0.jar下META-INF/sp

    2022-01-01, Views: 3813 , Topics: Tomcat Spring Boot 面试

  • Spring Boot 自动配置原理

    版本 Spring Boot 2.6.0 原理 @SpringBootApplication注解由@SpringBootConfiguration、@Enabl

    2021-12-31, Views: 3309 , Topics: Spring Boot 面试

  • Spring、SpringMVC、Spring Boot 中的注解

    Spring core @Order AOP @EnableAspectJAutoProxy 依赖注入 @Autowired @Value @Qual

    2021-12-30, Views: 2525 , Topics: Spring SpringMVC Spring Boot

  • SpringMVC 请求流程

    结合 Spring Boot Spring Boot 2.6.0 流程梳理 容器初始化阶段 IOC容器refresh时加载自动配置类DispatcherSer

    2021-12-29, Views: 3429 , Topics: SpringMVC Spring 面试

  • Spring 中的设计模式

    Builder RequestMappingInfo 工厂方法 BeanFactory的getBean 适配器 HandlerAdapter 代理

    2021-12-28, Views: 2657 , Topics: Spring 设计模式 面试

  • Spring 事务原理

    用户配置 @EnableTransactionManagement @ComponentScan("com.example.learn.tx") @Config

    2021-12-27, Views: 3082 , Topics: Spring 事务 面试

  • Spring 事务失效的几种场景

    检查异常 代码 未指定rollbackFor @Transactional public void transfer(int from, int to, int

    2021-12-26, Views: 3170 , Topics: Spring 事务 面试

  • Spring 事务

    引入依赖 JdbcTemplate、MySQL驱动、HikariCP数据库连接池 <dependency> <groupId>o

    2021-12-25, Views: 2603 , Topics: Spring 事务

  • Spring AOP 原理

    版本 spring-aspects-5.3.13 步骤 @EnableAspectJAutoProxy开启AOP功能 @EnableAspectJAutoPr

    2021-12-24, Views: 2907 , Topics: Spring 面试

  • Spring 循环依赖能否用二级缓存解决

    结论 不能。 原因 bean创建分为三步:实例化、填充属性、初始化。 循环依赖发生在填充属性阶段,代理对象的创建在初始化完成后的后置处理器回调中。 如果只用二级

    2021-12-23, Views: 4540 , Topics: Spring 面试

  • Spring 循环依赖

    原因 ClassA的构造中需要ClassB,ClassB的构造中需要ClassA。 public class ClassA { public Clas

    2021-12-22, Views: 3048 , Topics: Spring 面试

  • Spring 接口类型 getBeanNamesForType 获取实际类型的流程

    版本 spring-context 5.3.13 案例 备注:实际TestService接口无需标注@Service注解,即使标注了注解也不会加入到BeanDe

    2021-12-21, Views: 4009 , Topics: Spring

  • Spring 组件的注册时机

    相关组件 被@Component、@Controller、@Service、@Repository、@Bean标注的组件。 相关后置处理器 主要是配置类后置处理

    2021-12-20, Views: 2992 , Topics: Spring 面试

  • Spring @EventListener 加载流程

    注解 /** * @see EventListenerMethodProcessor */ @Target({ElementType.METHOD, Ele

    2021-12-19, Views: 3297 , Topics: Spring 面试

  • Spring 注册内置后置处理器流程

    版本 spring-context 5.3.13 注册流程 AnnotationConfigApplicationContext构造函数中完成了Spring内置

    2021-12-18, Views: 3180 , Topics: Spring 面试

  • Spring 依赖注入原理

    版本 spring-context 5.2.6.RELEASE 依赖注入 AutowiredAnnotationBeanPostProcessor处理@Auto

    2021-12-17, Views: 3030 , Topics: Spring 面试

  • Spring 创建 IOC 容器步骤

    代码 AnnotationConfigApplicationContext applicationContext = new AnnotationConfigA

    2021-12-16, Views: 2328 , Topics: Spring 面试

  • Java Log4j2 高危漏洞复现及解决办法

    影响范围 影响< 2.15.0的所有2.x版本。且JDK版本在Oracle JDK 11.0.1、8u191、7u201、6u211及之前的版本。 Git

    2021-12-14, Views: 4139 , Topics: Java Log4j2

  • Spring Boot 整合 Log4j2 不起作用

    现象 pom文件中引入了log4j2。 <dependency> <groupId>org.springframework.bo

    2021-12-13, Views: 4311 , Topics: Spring Boot Log4j2

  • First Prev
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • Next Last

©2026 沪ICP备18012661号-1 阿里云

Messages Sitemap GitHub