The XML Encoder tool is used to convert an XML body representing a Java Bean into its corresponding Java object. This and the XML Encoder are especially useful for EJB testing in conjunction with the EJB Client.
For details on using this tool, see EJB Client.