Solved

spring bean class

Posted on 2011-03-11
1
435 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jboss wildfly 10.1 10 438
How do I remove an object from a 3 53
add projects t working set in maven 2 44
java imports not found 4 52
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

697 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