Может кто-нибудь объяснить, какие области находятся в весенних бобах. Я всегда использовал «прототип», но есть ли другие параметры, которые я могу использовать вместо этого?Spring Bean Scopes
Пример того, что я говорю о
<bean id="customerInfoController" class="com.action.customer.Controller" scope="prototype">
<property name="accountDao" ref="accountDao"/>
<property name="utilityDao" ref="utilityDao"/>
<property name="account_usageDao" ref="account_usageDao"/>
</bean>
См [Bean Прицелы] (http://static.springsource.org/spring/docs/3.0.0.M3/reference/html/ch04s04.html) – Reimeus
HTTP://www.mkyong.com/spring/spring-bean-scopes-examples/ – sanbhat
[Более качественная и официальная документация здесь] (http://docs.spring.io/spring-framework/docs/current/spring-framework- reference/html/beans.html # beans-factory-scopes) – KNU