I'm trying to create a stateful Hessian service. To accomplish this I was hoping to use the session scoping that Spring provides, but I'm falling short somewhere. The server is running well, I'm seeing the session being issued, but everything I've tried on the client has been unsuccessful.
I also tried creating my own Proxy Factory Bean so I could explicitly define this one implementation and that cleared up the bean creation exception, but I can't seem to get the session variable to be used. On my custom class I implemented HttpSessionListener and no session is being created.
<bean id="hessianClient" class="org.springframework.remoting.caucho.HessianProxyFactoryBean" scope="session">
<property name="serviceUrl" value="http://localhost:9081/iris/remoting/HessianFirehose"/>
<property name="serviceInterface" value="remoting.HessianFirehose"/>
Cannot create scoped proxy for bean 'scopedTarget.hessianClient': Target type could not be determined at the time of proxy creation.
Any help with what I am missing would be greatly appreciated.