I'm using the above version of XDoclet with a session bean. But, JBoss and XDoclet don't seem to agree on the ejb-jar deployment descriptor doctype. My build script looks like :
<ejbdoclet
 destdir="${genjava.dir}"
 excludedtags="@version,@author"
 addedtags="@xdoclet-generated at ${TODAY}"
 verbose="true"
 ejbspec="2.0" >
 <fileset dir="${java.dir}">
 <include name="**/*Bean.java"/>
 </fileset>
 <dataobject/>
 <packageSubstitution packages="persistence" substituteWith="interfaces"/>
 <remoteinterface pattern="{0}Remote"/>
 <localinterface pattern="{0}"/>
 <homeinterface />
 <localhomeinterface/>
 <entitypk/>
 <entitycmp/>
 <deploymentdescriptor
 destdir="${gendeploy.dir}/META-INF"
 description="SSO Beans"
 displayname="SSO Beans"
 validatexml="true"/>
 <jboss version="3.2"
 securityDomain="java:/jaas/samples"
 preferredRelationMapping="relation-table"
 datasource="java:/DefaultDS"
 datasourcemapping="Hypersonic SQL"
 destdir="${gendeploy.dir}/META-INF" />
</ejbdoclet>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
15:40:16,096 DEBUG [JARDeployer] No META-INF or WEB-INF resource found, assuming it if for us
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtds/ejb-jar_2_0.dtd">