Powered by SmartDoc

iiop option

Parameter

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

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 and cdl.iiop options is as follows:

$ relaxer -cdl -cdl.iiop cdlIiop.rcdl

Execution of the Relaxer client command with the iiop and findAccount options is as follows:

$ java \
    -Djava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory \
    -Djava.naming.provider.url=iiop://localhost:1050 \
    AccountManagerCommand --iiop 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>