• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 314
  • Last Modified:

autowire spring

>>>‘autodetect’ auto-Wiring mode

If a default constructor with no argument is found, it will auto-wire by data type. Otherwise, it will auto-wire by constructo


I was reading above lines at
http://www.mkyong.com/spring/spring-auto-wiring-beans-in-xml/
I did not understand clearly. What are different types of auto-wirings. which one we use in which scenario, advantages, disadvantages.
Any ideas, resources,sample code,links,  highly appreciated. thanks in advance.
0
gudii9
Asked:
gudii9
2 Solutions

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now