Search:

Type: Posts; User: Roxton; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    1,340

    Thanks a lot, Jörg. The factory-bean approach...

    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...
  2. Replies
    1
    Views
    810

    PropertyEditor Problem

    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...
  3. Replies
    6
    Views
    1,340

    Follow-up -- Success: I was able to get a...

    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">
    ...
  4. Replies
    6
    Views
    1,340

    serviceUrl requires a String

    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...
  5. Replies
    6
    Views
    1,340

    I'll try, but I don't think that will work. The...

    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...
  6. Replies
    6
    Views
    1,340

    Session-scoped RMI Proxy

    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...
Results 1 to 6 of 6