2023 来袭,分享 500 道我收集的 Java 架构面试题
我有许多朋友就已经成功的跳槽,有的还在家等候下一步的面试通知。我托朋友们收集了他们面试时所问道的问题,并进行了系统性的整理,找出了一些高频面试题。目前就整理了 Mysql、开源框架系列、微服务系列这三块,等待后续更新。
主要分为三部分,为了不影响阅读,在这以截图形式展示目录与部分内容
数据库三范式是什么?
有哪些数据库优化方面的经验?
请简述常用的索引有哪些种类?
什么是聚簇索引和非聚簇索引?
Mysql 支持的复制类型?
mysql 支持的复制类型?
...

开源框架版块
Spring
SpringMVC
Mybatis

Spring
使用 Spring 框架的好处是什么?
Spring 由哪些模块组成?
核心容器(应用上下文) 模块
BeanFactory – BeanFactory 实现举例
解释 AOP 模块
Spring 配置文件
什么是 Spring IOC 容器?
什么是 Spring 的依赖注入?
IOC 的优点是什么?有哪些不同类型的 IOC(依赖注入)方式?
在 Spring 中如何注入一个 java 集合?
什么是基于注解的容器配置?
...

Spring MVC
SpringMVC 工作原理?
SpringMVC 流程?
SpringMvc 的控制器是不是单例模式,如果是,有什么问题,怎么解决?
SpringMVC 怎么样设定重定向和转发的?
SpringMvc 用什么对象从后台向前台传递数据的?
讲下 SpringMvc 的执行流程
...

Mybatis
MyBatis 与 Hibernate 有哪些不同?
MyBatis 的好处是什么?
简述 Mybatis 的 Xml 映射文件和 Mybatis 内部数据结构之间的映射关系?
什么是 MyBatis 的接口绑定,有什么好处?
MyBatis 实现一对一有几种方式?具体怎么操作的?
MyBatis 里面的动态 Sql 是怎么设定的?用什么语法?
Mybatis 是如何将 sql 执行结果封装为目标对象并返回的?都有哪些映射形式?
Mybatis 中如何执行批处理?
...

微服务版块
Dubbo
Spring Boot
Spring Cloud

Dubbo
dubbo 服务负载均衡策略?
Dubbo 在安全机制方面是如何解决的?
dubbo 连接注册中心和直连的区别?
dubbo 服务集群配置(集群容错模式)?
dubbo 通信协议 dubbo 协议为什么要消费者比提供者个数多?
...

Spring Boot
Spring Boot 有哪些优点?
如何重新加载 Spring Boot 上的更改,而无需重新启动服务器?
Spring Boot 中的监视器是什么?
如何在 Spring Boot 中禁用 Actuator 端点安全性?
如何在自定义端口上运行 Spring Boot 应用程序?
如何实现 Spring Boot 应用程序的安全性?
...

Spring Cloud
什么是 Spring Cloud?
使用 Spring Cloud 有什么优势?
服务注册和发现是什么意思?Spring Cloud 如何实现?
负载平衡的意义什么?
什么是 Hystrix?它如何实现容错?
什么是 Hystrix 断路器?我们需要它吗?
...

如果这篇文章能够帮助到你,希望您能点赞转发加个关注,支持一下小编!
资料已整理成文档,免费获取,需要的小伙伴可以+ VX: mxk6072
评论