In this example I am going to give example for array configuration in spring application using XML bean configuration file. This is my bean, here I have created the setter and getter method for array variable ("countryArray"). public class ArrayConfig { private String[] countryArray ; public String[] getCountryArray() { return countryArray ; } public void setCountryArray(String[] countryArray) { this . countryArray = countryArray; } } This is my beans.xml file. The <array> tag is used for configuring array. <? xml version = "1.0" encoding = "UTF-8" ?> < beans xmlns = "http://w...