Skip to content

Latest commit

 

History

History

Springjp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Sping Framework

Topics to be Explore in the Below Order:

  1. Spring Project Creation Using the maven

Spring XML Configuration

  1. Spring Bean XML Config

Creating the Spring Project wiht XML config

Object Creation in the Spring

  1. Object creation using the ClassPathXmlApplicationContext

Scopes of the Object Creation

  1. Scope of Object for the Bean in .xml
  • see the AlienSpring.java and Laptop.java as well

Setter Injection

  1. Assign the Value using the Bean setter injection property

xml file

Ref attribute Injection

  1. Object injection using the Ref Attribute property , concept

Constructor Injection

  1. Constructor Values injection

Creating Interface

  1. Creating the Interface , Implementing interface

Autowiring Interface

  1. Autowiring the Interface obj in the dependent class, xml file

Primary Bean Type

  1. primary Bean Type

Lazy Initialization of Bean

  1. Lazy bean init and eager bean

getBean by Type

  1. getBean by the Class Type obj

Inner Bean

  1. Creating the Inner Bean for the Particular Class

Creating the Spring Application Using "Java Based Config"

  1. Injecting obj using Java based Annotation Config

  2. @Bean name in java Based Config

Scope Annotation and Prototype Bean

  1. Scope Annotation

    -Class file ref: App.java , AppConfig

Autowire in Config Based Bean ..

  1. Autowire Implementation Note , AppConfig ,ref class

Stereotype annotation @Component

  • To tell the Spring that the file is part of Spring project
  1. @Component Stereotype annotation
  • Revisit topic to implement
  1. Autowire
  • see the AlienInterfaceConfig Class
  1. Primary and Qualifier
  • see the Dependent class and AlienInterfaceConfig Class
  1. Scope and Value Annotation