1.Array:可以重复
<property name="arrays">
<array>
<value>java</value>
<value>java</value><!--允许重复-->
<value>html5</value>
<value>python</value>
<value>testing</value>
</array>
</property>
2.List:有序可重复
<property name="list">
<list>
<value>zhouxingxing</value>
<value>zhouxingxing</value><!--允许重复-->
<value>9527</value>
<ref bean="obj" />
<ref bean="stu" />
</list>
</property>
3.Set:无序不可重复
<property name="set">
<set>
<value>suwukong</value>
<value>suwukong</value> <!--该值不会被加入,已经存在-->
<value>zhubajie</value>
<value>tangtang</value>
<value>shaheshang</value>
</set>
</property>
4.Map
<property name="map">
<map>
<entry key="jack" value="杰克"/>
<entry key="jack" value="杰克2"/>
<entry key="rose" value="肉丝"/>
<entry key="rose" value="null"/> <!--添加方法返回为肉丝,map里允许空value-->
<entry key="null" value="肉丝"/> <!--map允许空key-->
<entry key="null" value="null"/>
</map>
</property>
5.Propertis 其中名称和值都是字符串类型
<property name="prop">
<props>
<prop key="url">jdbc:mysql://localhost:3306/hello</prop>
<prop key="driver">com.mysql.jdbc.Driver</prop>
<prop key="username">root</prop>
<prop key="password">123456</prop>
</props>
</property>