The XML Encoder tool is used to output the XML representation of a Java Bean for a captured Java object. This and the XML Decoder are especially useful for EJB testing in conjunction with the EJB Client.
For details on using this tool, see EJB Client.