Question
How can you inject java collection in spring?

Answers

Spring offers four types of collection configuration elements which are as follows −

− This helps in wiring i.e. injecting a list of values, allowing duplicates.
− This helps in wiring a set of values but without any duplicates.
− This can be used to inject a collection of name-value pairs where name and value can be of any type.
− This 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 What is the advantage of using arrays over variables ?
  • Q What was known as Arabian Wine
  • Q What is 'cell phone tag'?
  • Q Explain what does it mean by product roadmap?
  • Q Do you count capitalized future payments from social security, pensions, or annuity payments as part of an allocation?
  • Q This question is really to see if you have a different agenda. You should talk about how your interests and the organization align. What is your mission in life, how does this organization also carry out this mission, and how will you fit in and work toward the same goal?
  • Q What is generic type ?
  • Q Can I certify my organization on the basis of ISO 9004:2000, now guidelines for self-assessment are included?
  • Q how to Customize language-dependent behavior for the database and individual sessions
  • Q What is a 'use' case and what does it include?
  • Q Can you name the responsibilities of the user, the customer and the developer in the requirements process?