Thanks a lot, Jörg. The factory-bean approach worked perfectly.
As for the other thing, it seems that the RmiProxyFactoryBean wouldn't know that the sessionUrl was a scoped proxy, and would call...
Type: Posts; User: Roxton; Keyword(s):
Thanks a lot, Jörg. The factory-bean approach worked perfectly.
As for the other thing, it seems that the RmiProxyFactoryBean wouldn't know that the sessionUrl was a scoped proxy, and would call...
The JavaDocs for LocaleEditor and ClassEditor say that the editors will not only convert a String into the requisite Object when needed, but also vice-versa.
So I thought it would be possible to...
Follow-up -- Success:
I was able to get a session-scoped RMI proxy with a little finagling.
<bean id="myService" class="com.company.MyServiceDelegator" scope="session">
...
I can't try it, because serviceUrl requires a String, and MyServiceSessionURL isn't a String. Is there a way to assign a conversion strategy that simply calls toString() on the MyServiceSessionURL...
I'll try, but I don't think that will work. The documentation explicitly warns against hooking scoped beans into singletons without an <aop:scoped-proxy>, because otherwise the scoped bean is...
I want each session to use a different server for RMI calls. My reasons are a little unorthodox, but you can imagine the case of somebody wanting to do load-balancing (badly).
The following...