Solved

autowire spring

Posted on 2011-04-19
2
278 Views
Last Modified: 2012-05-11
>>>‘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
Comment
Question by:gudii9
2 Comments
 
LVL 21

Accepted Solution

by:
Amitkumar Panchal earned 300 total points
ID: 35426701
0
 
LVL 20

Assisted Solution

by:Sathish David Kumar N
Sathish David  Kumar N earned 200 total points
ID: 35430872
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error with Java/Cache JDBC Classpath 2 31
JList custom Cell Renderer refresh 15 53
fibonacci ten numbers 4 30
tomcat not starting 6 32
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now