Difference between and

前端 未结 15 2689
再見小時候
再見小時候 2020-11-22 04:44

I\'m learning Spring 3 and I don\'t seem to grasp the functionality behind and .

15条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-22 05:31

    activates many different annotations in beans, whether they are defined in XML or through component scanning.

    is for defining beans without using XML

    For further information, read:

    • 3.9. Annotation-based container configuration
    • 3.10. Classpath scanning and managed components

提交回复
热议问题