Okay, now I've gotten local interfaces generated for my simple little "Hello
World" implementation, and ejb-jar.xml looks good.  Really pretty slick.  A
question though, about the local home interface that was generated:

public static final String COMP_NAME="java:comp/env/ejb/PolicyLocal";
public static final String JNDI_NAME="randa/Policy";

It probably doesn't matter, but it's bugging me.  What're these for, and why
did COMP_NAME inherit the {0}Local pattern (did I say that right?) even
though @ejb.interface specifies a local-class?  I thought maybe it had
something to do with @ejb-util (which I also know nothing about), so I tried
to set its generate attribute to false, but no change...

My implementation class contains the following tags:

/**
 * Models an Avnet policy definition.
 *
 * @author       [EMAIL PROTECTED]
 * @version      1.0.0
 * @ejb.bean
 *   name="Policy"
 *   schema="Policy"
 *   type="CMP"
 *   cmp-version="2.x"
 *   primkey-field="policyId" 
 *   view-type="local"
 *   local-jndi-name="randa/Policy"
 * @ejb.persistence
 *   table-name="Policy"
 * @ejb.pk 
 *   class="java.lang.Integer"
 * @ejb.home
 *   generate="local"
 *   local-class="com.avnet.sbs.randa.cmp.PolicyHome" 
 * @ejb.interface
 *   generate="local"
 *   local-class="com.avnet.sbs.randa.cmp.Policy"
 *
 */


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to