From the course: Spring: Framework in Depth
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Why the lifecycle is so important
From the course: Spring: Framework in Depth
Why the lifecycle is so important
- [Instructor] The lifecycle of a Spring application explains the various states your application goes through while being managed by the Spring framework. It is critical for Spring developers to fully understand this lifecycle and in my opinion, this is the meat and potatoes of this entire course. So let's talk about why the knowledge of the framework is so critical for a Spring developer. Knowledge of the lifecycle increases overall knowledge of Spring. As you learn how the parts fit together in the lifecycle, you will gain understanding of how to use the framework in a way the designers intended it to be used. It also will improve the extensibility of the framework for you. You will learn how to write custom processors that interact with beans or the bean factory, at appropriate times in the lifecycle to add behavior to your application or to just individual classes. It can also aid in troubleshooting by providing a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Why the lifecycle is so important3m 38s
-
The overall picture2m 25s
-
(Locked)
The init phase: Loading bean definitions2m 54s
-
(Locked)
Init: Bean factory post-processing3m 55s
-
(Locked)
Init: Bean instantiation3m
-
(Locked)
Init: Setters1m 54s
-
(Locked)
Init: Bean post-processing3m 25s
-
(Locked)
Init: Differences based on configuration2m 49s
-
(Locked)
The use phase1m 56s
-
(Locked)
The destruction phase2m 6s
-
(Locked)
-
-