Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
いずれにせよ、Spring Bean を注釈として、また Spring xml で定義する必要がありますか。
いいえの場合、どちらが保守しやすく、より多くの利点がありますか。
前もってありがとう、カシール
You do not need to do both. It is a case of one or the other.
I personally prefer having an xml file, as it allows me to see all of the resources I am wiring in one place, but it comes down to a matter of opinion.