I am using XDoclet to generate a local BMP Entity bean to be deployed on Weblogic 6.1. XDoclet works well until I include the tag @weblogic.resource-description in my Bean source. For some reason this tag causes XDoclet to generate unwanted remote interfaces and a primary key class (which I have defined as java.lang.Long). Perhaps this is a bug. I am a newbie so perhaps this is my doing. Nevertheless, any help would be greatly appreciated.
 
/**...
 * @ejb.bean
 *  type="BMP"
 *  cmp-version="2.x"
 *  name="PositionMainBean"
 *  schema="PositionMain"
 *  local-jndi-name="PositionMain"
 *  view-type="local"
 *  primkey-field="posId"
 *
 * @ejb.pk  class="java.lang.Long"
 *
 * @ejb.home generate="local" local-class="oasd.hrms.ejb.entity.position.PositionMain.LocalPositionMainHome"
 *
 * @ejb.interface generate="local" local-class="oasd.hrms.ejb.entity.position.PositionMain.LocalPositionMain"
 *
 * @ejb.transaction type="Required"
 *
 * @ejb.resource-ref res-ref-name="jdbc/hrmsDS"
 *  res-type="javax.sql.DataSource"
 *  res-auth="Container"
 *
 * Weblogic 6.1 specific xdoclet tags... this causes remote interfaces and pk generation (unwanted)
 * @weblogic.resource-description jndi-name="weblogic/hrmsDS"
 *  res-ref-name="jdbc/hrmsDS" 
 */
Ben Neuman, Ctr.
Impact Innovations Group, LLC.
Contractor
OASDA(PA) - IRM
(703) 428-0239
[EMAIL PROTECTED]
 
 

Reply via email to