I am trying to use the Util object for a bean, specifically calling the
getLocalHome method.

I keep getting the object not bound (or something to that effect) error.

I looked at the getLocalHome code and saw that it was doing the lookup using
the COMP_NAME constant found in the LocalHome interface.  I changed this to
use the JNDI_NAME constant and then it works.

Would this be a bug, or am I filling out my Bean xdoclet tags incorrectly.
I have attached the class descriptor for the Bean in question.

I am using xdoc 1.2b2

Craig


/**
 * This is the Facility entity bean. It is an example of how to use the
 * EJBDoclet tags.
 *
 * @ejb.bean
 *     name="DataSetBean"
 *     type="CMP"
 *     cmp-version="2.x"
 *     jndi-name="ejb/DataSetBean"
 *     local-jndi-name="ejb/DataSetBeanLocal"
 * 
 * @ejb.interface
 *     remote-class="test.DataSetRemote"
 *     local-class="test.DataSetLocal" 
 * @ejb.pk 
 *      class="test.DataSetPK"
 *              generate="true"
 *
 * @ejb.persistence 
 *     table-name="DATASETS" 
 * @jboss.create-table "false"
 * @jboss.remove-table "false"
 *
 *
 * @ejb.transaction
 *     type="Required"
 *
 *  @ejb.finder
 *     signature="java.util.Collection findAll()"
 *     unchecked="true"
 
 * @ejb.value-object
 *     name="DataSet"
 *     match="*"
 * 
 * @version 1.5
 */
public abstract class DataSetBean implements EntityBean

 



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to