Kann jemand erklären, was die Bereiche in Spring Beans sind Ich habe immer nur 'Prototyp' verwendet, aber gibt es andere Parameter, die ich an Stelle davon setzen kann?Spring Bean Scopes
Beispiel von dem, was ich rede
<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>
See [Bean Scopes] (http://static.springsource.org/spring/docs/3.0.0.M3/reference/html/ch04s04.html) – Reimeus
http://www.mkyong.com/spring/spring-bean-scope-examples/ – sanbhat
[Eine viel bessere und offizielle Dokumentation hier] (http://docs.spring.io/spring-framework/docs/current/spring-framework- Referenz/html/beans.html # beans-factory-scopes) – KNU