1. none, prefer xml
2. @Resource
@Inject
@Autowired
I don't use either.
1. none, prefer xml
2. @Resource
@autowired
@Autowired..But its not recommended to use @Autowired as well.
I use @AutoWire and runnning test case
Could someone shed light on this ?
http://forum.springsource.org/showth...-loading-beans
Thanks
Gowtham