Java Reference
In-Depth Information
Listing 4-29. insurance-servlet.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=" http://www.springframework.org/schema/beans"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
xmlns:jee=" http://www.springframework.org/schema/jee"
xsi:schemaLocation=" http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee-2.5.xsd">
<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.UnderwritingBusinessService" />
<property name="jndiEnvironment">
<props>
<prop key="java.naming.factory.initial">
org.jnp.interfaces.NamingContextFactory
</prop>
<prop key="java.naming.provider.url">
jnp://localhost:1099
</prop>
<prop key="java.naming.factory.url.pkgs">
org.jboss.naming.client
</prop>
</props>
</property>
</bean>
<bean name="/createPolicy.do"
class="com.apress.insurance.web.controller.SaveNewPolicyController" >
 
Search WWH ::




Custom Search