The ejb option takes an EJB name as a parameter. The EJB name must be registered in the COS Naming server.
Execution of Relaxer command with the cdl and cdl.ejb options is as follows:
$ relaxer -cdl -cdl.ejb cdlEjb.rcdl
Execution of the relaxer client command with the ejb option and the findAccount is as follows:
$ runclient -client cdlEjbClient.jar -name accountManager --ejb \ java:comp/env/ejb/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>