added an example to demonstrate how to create a list as a bean using XML configuration