Hi everybody,
 
I tried creating an entity bean with an ejbHome-method that should be visible on the beans LocalHome. I defined the method in the bean class using the following code:
 
    /**
     * Updates one Entity.
     * @ejb.home-method view-type="local"
     * @param sale
     * @return SaleInterface
     */
    public SaleInterface ejbHomeUpdate(final SaleInterface sale) throws ...
 
 
The generated LocalHome interface looks like this:

    public nexxar.sale.data.interfaces.SaleInterface homeUpdate(nexxar.sale.data.interfaces.SaleInterface sale) throws...

While I think it should be (watch the name of the generated method):

    public nexxar.sale.data.interfaces.SaleInterface update(nexxar.sale.data.interfaces.SaleInterface sale) throws...

I checked XDoclet documentation and mailing lists but i did not find anything on this particular issue, which means that I'm probably doing something stupid here... Does anyone have an idea for solving / working around this issue? Changing the generated code manually is not really an option...

Thanks in advance,

Kim

PS: I am using XDoclet-functionality embedded in IBM Rational Softw Architect 6.0.1

PS2: If I do this kind of stuff without XDoclet (writing all EJB classes and interfaces manually), everything works fine.

 

Reply via email to