0

いずれにせよ、Spring Bean を注釈として、また Spring xml で定義する必要がありますか。

いいえの場合、どちらが保守しやすく、より多くの利点がありますか。

前もってありがとう、カシール

4

1 に答える 1

0

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.

于 2013-04-12T10:46:19.207 に答える