Results 1 to 2 of 2

Thread: Question for Spring RMI connection

  1. #1
    Join Date
    Sep 2009
    Posts
    2

    Default Question for Spring RMI connection

    Hi All,
    Here is my situation.
    A web application needs connection to several nodes using RMI. In this web application all those RMI services are wired using RmiProxyFactoryBean.

    1. when web application starts up, it will lookup all the RMI server. If Spring can not find out all the RMI servers, the web application will fail to startup.
    Question: is it possible to do lazy-loading(or say lazy-wiring) for RMI looking up

    2. when application needs to do RMI invocation, it will use the RMI client directly.
    Question: is it possible to check the availability of RMI server before send out RMI call?

    Thank you

  2. #2
    Join Date
    Sep 2009
    Posts
    2

    Default

    for my question 1, in RmiProxyFactoryBean set property "lookupStubOnStartup" to false.

    Still struggling with question 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •