When you plug together a web framework, and Spring, you end up making choices on how to do this (unless you use Spring MVC).
Considering DRY, you really don’t want to have to:
a) Setup the model as a bean in Spring
b) Also setup the same bean (with the same name maybe for convention) in the web framework
Seeing all of this configuration can be irksome, so we thought that this would be a perfect use of namespaces which could allow us to go from:
<bean id=”newWidget” class=”model.Widget” singleton=”false”/>
<bean id=”newWidget” class=”model.Widget” singleton=”false” jsf:scope=”request”/>