What in the world are Spring beans?

前端 未结 12 1455
谎友^
谎友^ 2020-11-28 00:19

I am yet to find a high-level definition of Spring beans that I can understand. I see them referenced often in Grails documentation and books, but I think that understanding

12条回答
  •  孤城傲影
    2020-11-28 00:59

    Spring have the IoC container which carry the Bag of Bean ; creation maintain and deletion are the responsibilities of Spring Container. We can put the bean in to Spring by Wiring and Auto Wiring. Wiring mean we manually configure it into the XML file and "Auto Wiring" mean we put the annotations in the Java file then Spring automatically scan the root-context where java configuration file, make it and put into the bag of Spring.

    Here is the detail URI where you got more information about Beans

提交回复
热议问题