Solved

spring bean class

Posted on 2011-03-11
1
421 Views
Last Modified: 2012-05-11
Hi,

While defining the beans in spring-config.xml I see the id and class, scope, constructor-arg, ref-bean,  property-name, value etc attributes. What does the class represents. Also what other attributes represents.I am not clear on which attribute to use in which scenario and how to use. Also how to define for constructor injection, how to define for setter injection and how to inject other bean or custom object. Any ideas, suggestions, sample code. resources, links highly appreciated.Thanks in advance.
0
Comment
Question by:gudii9
1 Comment
 
LVL 20

Accepted Solution

by:
Sathish David  Kumar N earned 500 total points
ID: 35111663
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

747 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

9 Experts available now in Live!

Get 1:1 Help Now