I have an issue: I have create functions which are having DDs generated for
them when I don't want them.  I want only local create functions, but DDs
are generated for both.

I'm posting my class and method ejb tags.  Hopefully somebody can tell me
what the heck I'm doing wrong.

Class-level:

 * @ejb.bean
 *     name="CategoryBean"
 *     display-name="CategoryEB"
 *     local-jndi-name="commerce/local/Category"
 *     view-type="local"
 *     type="CMP"
 *     reentrant="False"
 *     cmp-version="2.x"
 *     schema="Category"
 *     primkey-field="id"
 * @ejb.ejb-ref
 *     ejb-name="CategoryDetailsBean"
 *     view-type="local"
 *     ref-name="ejb/local/CategoryDetails"
 * @ejb.home
 *     local-class="com.stoddardtech.commerce.ejb.interfaces.CategoryHome"
 * @ejb.interface
 *     local-class="com.stoddardtech.commerce.ejb.interfaces.Category"
 * @ejb.persistence
 *     table-name="CATEGORIES"
 * @ejb.transaction
 *     type="Required"

Method-level (on ejbCreate):

 * @ejb.create-method
 *     view-type="local"
 * @ejb.permission
 *     role-name="administrator"
 * @ejb.transaction
 *     type="RequiresNew"

Does anybody have any idea why DDs are being generated for both local and
remove interfaces?  I'm not generating remote component or home interfaces,
so it really shouldn't be putting any remote-stuff in the DDs.  As a note,
it seems to only put in the container-transaction and method-permission
elements--not the remote and home elements within the entity element.




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to