In the 'equinox-struts2-hibernate-1.7' I deployed and I am running
through the code trying to understand it. Anyway, there is a file called
"action-servlet.xml" which is a Spring bean definition file. Within it
is has this:

 

<bean id="userAction" class="org.appfuse.web.UserAction"
scope="prototype">

 

When I referenced my Spring in Action book, it states that all beans are
singleton by default. But you can set the singleton="false" to make it a
prototype. A blueprint they state. But they do not mention
scope="prototype".

 

Is this something new and the book is obsolete?

 

Thanks,

 

Reply via email to