Spring Framework Core

所在平台: Udemy

课程主页: https://www.udemy.com/course/spring-framework-di/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Spring框架核心 课程概述: 本课程将帮助您深入了解Spring框架中的依赖注入(DI)技术,使您能够创建、注入和调试Spring管理的类。课程从控制反转(IoC)的基础入手,探索Spring的IoC容器,学习如何使用XML配置、注解(如@Component, @Autowired, @Qualifier等)和基于Java的配置(如@Bean, @Configuration)来配置Bean。 通过动手实践和示例,您将实施不同的注入方式,并理解Spring的ApplicationContext在管理Bean中的作用。课程还将介绍Spring的IoC容器如何管理Bean的生命周期,以及Bean的作用域。您将学习如何组合不同的Bean作用域,甚至实现自定义作用域。课程会深入探讨更细致的案例,如多个Bean的注入、循环依赖、可选依赖等问题。最后,您将学习代理模式,以及Spring框架如何为我们创建JDK动态代理和CGLIB代理。 完成本课程后,您将对DI原则有深入的理解,并为继续学习Spring的第二个核心概念——面向切面编程(AOP)打下坚实的基础。此课程适合所有希望深入了解Spring的Java开发者。

课程评论(0条)

课程详情

Unlock the power of Spring Dependency Injection (DI)! This course provides a comprehensive introduction to DI, one of the core concepts in the Spring Framework, allowing you to create, inject and troubleshoot your spring managed classes.You'll start with the fundamentals of Inversion of Control (IoC). You'll explore Spring's IoC container, learn how to configure beans using XML configuration, annotations (@Component, @Autowired, @Qualifier, etc.), and Java-based configurations (@Bean, @Configuration). Through hands-on examples and exercises, you'll implement different injection types and understand the role of Spring's ApplicationContext in managing your beans. You will see how Spring's IoC container manages bean lifecycles and learn about bean scopes. You will learn how to combine different bean scopes and even implement your custom scope. You will tackle some more subtle cases like injection of multiple beans, handling of circular dependencies, optional dependencies and even more.Finally you will learn about the proxy pattern and how the Spring framework creates proxies for us - JDK dynamic proxies and CGLIB proxies. This is very fundamental knowledge in order to continue learning about the second core concept in Spring - the Aspect Oriented Programming (AOP).By the end of this course, you'll have a strong grasp of DI principles and you will be ready to continue with AOP. A good choice for Java developers from all levels eager to deepen their knowledge in Spring!

课程标签

0人关注该课程

主题相关的课程