wood burning stoves 2.0*
The moose likes Other Java Products and Servers and the fly likes primark key for entity bean through ejbdoclet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "primark key for entity bean through ejbdoclet" Watch "primark key for entity bean through ejbdoclet" New topic
Author

primark key for entity bean through ejbdoclet

mridul das
Greenhorn

Joined: Jul 15, 2005
Posts: 19
We aare using ejbdoclet to generate remote, local, home interfaaces and descriptors for our ejbs. For the entity bean however the primary class is not getting generated and also the <prim-key-class>int</prim-key-class> in the ejb-jar.xml shows int instead of the expected class .
this is the ejbDoclet task.
<target name="ejbDoclet">
<mkdir dir="${ejbDoclet}"/>
<mkdir dir="${services.build}" />
<ejbdoclet destdir="${ejbDoclet}" excludedtags="@version,@author" addedtags="@xdoclet-generated at ${TODAY}" ejbspec="2.0">
<fileset dir="${ejbApp}">
<include name="com/ads/app/property/entity/DataBean.java" />
</fileset>
<entitypk/>
<remoteinterface pattern="{0}"/>
<homeinterface/>
<localinterface pattern="{0}Local" />
<localhomeinterface />
<deploymentdescriptor destdir="${oms.services.build}/META-INF" mergeDir="${descriptorsOMS}" />
<weblogic version="7.0" datasource="XYZ" xmlencoding="UTF-8" destdir="${services.build}/META-INF" />
</ejbdoclet>
</target>

I am not sure what is missing or what else needs to be done.
Thanks.
 
 
subject: primark key for entity bean through ejbdoclet
 
Similar Threads
EntityFacade and Xdoclet
question about xdoclet in eclipse
Help With Ant/XDoclet Error
Using ANT and XDoclet
xdoclet + weblogic not working