WEB-INF/resin-web.xml
<!--
- web.xml configuration file for the Hessian addition example.
-->
<web-app xmlns="http://caucho.com/ns/resin">
<servlet-mapping url-pattern="/math/*"
servlet-class="example.MathServiceImpl">
<protocol uri="hessian:"/>
</servlet-mapping>
<remote-client name="math">
<uri>hessian:url=${webApp.url}/math/</uri>
<interface>example.MathService</interface>
</remote-client>
</web-app>