Learning Dependency Injection (DI)

After a series of installations and configurations, this chapter will begin the discussion on how Spring Framework 5.0 works from its core. The recipes here will define the characteristics of Spring 5.0 as a framework. We will connect the dots starting from where the objects are created up to the layers where the series of data transactions, services and controllers are interconnected.

In this chapter, you will learn about the following:

  • Implementing a Spring container using XML
  • Implementing a Spring container using JavaConfig
  • Managing beans in an XML-based container
  • Managing the beans in a JavaConfig container
  • Creating Singleton and Prototype beans
  • Defining eager and lazy spring beans
  • Creating an inner bean
  • Injecting Collections and Properties
  • Creating a Spring MVC using an XML-based approach
  • Creating a Spring MVC using the JavaConfig approach
  • Generating multiple ApplicationContexts
  • Using ResourceBundleMessageSource for Views
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.157.142