Powered by SmartDoc

rmi option

Parameter

The --rmi option takes an RMI name as a parameter. The RMI name must be registered in a rmiregistry, the RMI name server.

Example

Execution of Relaxer with the cdl option and the cdl.rmi option is as follows:

$ relaxer -cdl -cdl.rmi cdlRmi.rcdl

Execution of the Relaxer client command with the rmi option and findAccount is as follows:

$ java AccountManagerCommand --rmi accountManager -findAccount \
    a12345
<account accountNo="a12345"><balance>10000</balance><owner>XML \
    Taro</owner><address zip="123">Yokohama</address><phone \
    area="123">456-7890</phone><phone \
    area="090">123-4567</phone></account>