This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

primark key for entity bean through ejbdoclet

 
mridul das
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic