Announcement Announcement Module
Collapse
No announcement yet.
About XML file in an spring-rmi application Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • About XML file in an spring-rmi application

    I am writing a small rmi application using springs. In some example in a website, i found the corresponding xml file as:
    <beans>
    <bean class="org.springframework.remoting.rmi.RmiService Exporter">

    <property name="service">

    <value>rmservice</value> ==>> what is "rmservice" ?
    </property>

    <property name="serviceName">

    <value>service1</value> ==>> what is service1?

    </property>

    <property name="serviceInterface">

    <value>rmservice</value> ==>> what is rmservice here ?

    </property>

    <bean id="rmservice" class="code.RmServiceImpl">
    </bean> ==> why a "property" element and a nested "value" element were not written here ??

    </beans>

  • #2
    I would have a read of the reference manual, this has an example of what you are trying to do.
    http://www.springframework.org/docs/...l#remoting-rmi

    Comment


    • #3
      thank you

      thank you so much ..

      Comment


      • #4
        Not a problem remember, "the reference manual is your friend" .

        Comment

        Working...
        X