Question
How can you inject a Java Collection in Spring

Answers

Spring offers the following types of collection configuration elements:

• The type is used for injecting a list of values, in the case that duplicates are allowed.

• The type is used for wiring a set of values but without any duplicates.

• The type is used to inject a collection of name-value pairs where name and value can be of any type.

• The type can be used to inject a collection of name-value pairs where the name and value are both Strings.   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q How to Merge Object repositories?
  • Q What is peachtree multi-user value pack?
  • Q I have a different number of columns on two rows of my table - how do i get both rows of columns to be distributed evenly?
  • Q What is the difference between PERFORM … WITH TEST AFTER and PERFORM … WITH TEST BEFORE?
  • Q When East India Company Came to India?
  • Q Name the Indian born American physicist, whose studies led to the invention of optical fiber?
  • Q Who has been appointed as the chairman of Bankrupy and Insolvency Board?
  • Q Can we declare a static function as virtual?
  • Q A low wet bulb temperature indicates
  • Q The Lok Sabha Secretariat comes under the direct supervision of the _______?
  • Q In the Aam Aadmi Bima Yojana (AABY), which was started from 2nd October 2007,provides insurance on natural death, death by accident and permanent disability respectively of ?