The following comment has been added to this issue:

     Author: Matthias Germann
    Created: Sun, 10 Apr 2005 9:03 AM
       Body:
CVS COMMIT LOG: 
SUBJECT: [Xdoclet-devel] CVS: 
xdoclet/modules/ejb/src/xdoclet/modules/ejb/session/resources 
session.xdt,1.13,1.14
session object must also implement the business-interfaces (as described in the 
Business Interface Design Pattern) (XDT-1182)


---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1182?page=comments#action_16329

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1182

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1182
    Summary: Error in CMP processing of tags remote/local-business-interface
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
   Fix Fors:
             1.2.3
   Versions:
             1.2.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Johannes Correa Lopera

    Created: Tue, 7 Dec 2004 7:50 AM
    Updated: Sun, 10 Apr 2005 9:03 AM
Environment: Windows 2000, Java 1.5.

Description:
Hi. I'm using the tags local-business-interface and remote-business-interface 
into a SessionBean without any problem but I tried to use both of them in a CMP 
bean and one of the generated CMp class has a duplicated implements clause.

This is my code (only the xdoclet):
/**
 * @ejb.bean
 *      name="Object"
 *      type="CMP"
 *      schema="Object"
 *      cmp-version="2.x"
 *              primkey-field="objectId"
 *      jndi-name="object.jndi" 
 *      local-jndi-name="object.local.jndi"
 *      remote-business-interface="com.commexnet.rbac.core.Object"
 *      local-business-interface="com.commexnet.rbac.core.Object"
 *      view-type="both"
 *              reentrant="True"
 * @ejb.persistence
 *      table-name="Object"
 * 
 * @jboss.read-ahead 
 *              strategy="on-load"
 * 
 * @jboss.persistence
 *      create-table="false"
 *      remove-table="false"
 *      read-time-out="5000"
 */

The generated class is:
/*
 * Generated by XDoclet - Do not edit!
 */
package com.commexnet.rbac.ejb.core;

/**
 * CMP layer for Object.
 */
public abstract class ObjectCMP
   extends com.commexnet.rbac.ejb.core.ObjectBean
   implements javax.ejb.EntityBean, com.commexnet.rbac.core.Object, 
com.commexnet.rbac.core.Object
{
....//The rest works fine
}


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to