• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

primark key for entity bean through ejbdoclet

Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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" />
<remoteinterface pattern="{0}"/>
<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" />

I am not sure what is missing or what else needs to be done.
    Bookmark Topic Watch Topic
  • New Topic