Hello All,

I read a post on this subject in the archives but I am still having issues
so heres my problem:

I have a parent bean called CompanyBean. CustomerBean extends CompanyBean. I
am trying to generate CutomerBean its own home and remote interfaces instead
of extending the parent interfaces. So I have the following tags for the
child bean:

 * @ejb.bean name = "Customer"
 *                       display-name = "customer EJB"
 *                       description = "EJB that represents a customer"
 *                       view-type = "remote"   
 *                       type="Stateless"               
 *                       jndi-name = "ejb/com/mailcode/pbo/um/Customer"
 *                       transaction-type = "Container"
 *                       remote-business-interface =
"com.mailcode.pbo.um.model.interfaces.Customer"
 *                               
 * @ejb.interface remote-class =
"com.mailcode.pbo.um.model.interfaces.Customer"
 *                      extends = "javax.ejb.EJBObject"
 * 
 * @ejb.home remote-class =
"com.mailcode.pbo.um.model.interfaces.CustomerHome"
 *                      extends = "javax.ejb.EJBHome"   
 */
public class CustomerBean extends CompanyBean
{
}

The home interface gets generated fine. However, the remote interface is
generated wrongly like so:

/*
 * Generated by XDoclet - Do not edit!
 */
package com.mailcode.pbo.um.model.interfaces;

/**
 * Remote interface for Customer.
 * @see Company
 * @see Client
 */
public interface Customer
   extends javax.ejb.EJBObject,
com.mailcode.pbo.um.model.interfaces.Customer
{

}

It cannot extend itself! Can someone help me figure out what am I doing
wrong?

Thank you,
Vijay


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to