please explain chapter 19.4.1 of the reference doc
http://static.springsource.org/sprin...ng-httpinvoker
Quote:
To expose the AccountService (mentioned above) within a Spring Web MVC DispatcherServlet, the following configuration needs to be in place in the dispatcher's application context:
HTML Code:
<bean name="/AccountService" class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
<property name="service" ref="accountService"/>
<property name="serviceInterface" value="example.AccountService"/>
</bean>
Such an exporter definition will be exposed through the DispatcherServlet's standard mapping facilities, as explained in the section on Hessian.
This I can't make it work.
I manage to make work the alternative way by declaring in the web.xml
HTML Code:
<servlet>
<servlet-name>accountExporter</servlet-name>
<servlet-class>org.springframework.web.context.support.HttpRequestHandlerServlet</servlet-class>
</servlet>
but the first mentionned way doesn't work, it's not automagically bound to an already existing spring mvc dispatcher servlet