Solved

autowire spring

Posted on 2011-04-19
2
264 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 20

Accepted Solution

by:
Amitkumar Panchal earned 300 total points
Comment Utility
0
 
LVL 20

Assisted Solution

by:Sathish David Kumar N
Sathish David  Kumar N earned 200 total points
Comment Utility
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

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…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
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…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

771 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

12 Experts available now in Live!

Get 1:1 Help Now