April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
MVC and Dependency Injection
nAll MVC components are configured in the Spring ApplicationContext
nAs such, all MVC components can be configured using Dependency Injection
nExample:
n<bean id="springCheersController" class="com....web.SpringCheersController">
n <property name="methodNameResolver“         ref=“springCheersMethodResolver"/>
n <property name="service" ref="service"/>
n</bean>