Java Reference
In-Depth Information
<bean id="viewResolver"
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="viewClass"
value="org.springframework.web.servlet.view.JstlView" />
<property name="prefix" value="/WEB-INF/jsp/" />
<property name="suffix" value=".jsp" />
</bean>
<bean id="uwrBusinessServiceProxy"
class="org.springframework.ejb.access. å
SimpleRemoteStatelessSessionProxyFactoryBean">
<property name="jndiName" value="UnderwritingBeanRemote" />
<property name="businessInterface"
value="com.apress.einsure.business.api.UnderwritingApplicationService" />
</bean>
<bean name="/createPolicy.do"
class="com.apress.insurance.web.controller.SaveNewPolicyController" >
<property name="uwrBusinessService"
ref="uwrBusinessServiceProxy" />
<property name="formView"
value="createPolicy" />
<property name="commandName"
value="policydetails" />
<property name="successView"
value="policydetails" />
<property name="commandClass"
value="com.apress.insuranceapp.web.formbean.PolicyFormBean" />
</bean>
</beans>
Note that the same proxy service locators can be applied to look up EJB 3 session
beans as well.
 
Search WWH ::




Custom Search