hello *,

I'm trying to generate ejb 1.1 beans and almost everything works fine. 
but one error remains:

I want to get three create methods for a entity bean, (as seen below). 
but xdoclet refuses to write all three create methods to home interface. 
and i don't know why.

<code>

  /**
  * @ejb:create-method
  */
  public EmployeePK ejbCreate(String uName) throws RemoteException, 
CreateException {
   setUserName(uName);
  }

  public EmployeePK ejbPostCreate(String uName) throws RemoteException, 
CreateException {
  }

/**
  * @ejb:create-method
  */
public EmployeePK ejbCreate(EmployeeData data) throws 
RemoteException,CreateException {
[...]
}

public EmployeePK ejbPostCreate(EmployeeData data) throws 
RemoteException, CreateException {
}

/**
  * @ejb:create-method
  */
public EmployeePK ejbCreate(long companyId, String firstName, String 
lastName, String userName, String passwd) throws RemoteException, 
CreateException {
[...]
}

/**
  */
public void ejbPostCreate(long company, String firstName, String 
lastName, String userName, String passwd) throws RemoteException, 
CreateException {
}

</code>

this is how the home interface looks like:

public interface EmployeeHome extends javax.ejb.EJBHome {

public static final String 
COMP_NAME="java:comp/env/ejb/customermanagement/Employee";
public static final String JNDI_NAME="customermanagement.employee";

public de.inmediasp.customermanagement.Employee create(java.lang.String 
uName) throws java.rmi.RemoteException,javax.ejb.CreateException;

public de.inmediasp.customermanagement.Employee create(long 
companyId,java.lang.String firstName,java.lang.String 
lastName,java.lang.String userName,java.lang.String passwd) throws 
java.rmi.RemoteException,javax.ejb.CreateException;

public de.inmediasp.customermanagement.Employee 
findByPrimaryKey(de.inmediasp.customermanagement.EmployeePK pk)
     throws java.rmi.RemoteException,javax.ejb.FinderException;

[...]
}


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to