|
That’s the default behavior. And I
don’t think it’s wrong. Person remote intf
also derives from Body. Should a finder return exactly the remote intf class and not a class higher in the hierarchy? Anyway, you can control inheritance using
@ejb:home extends=”blabla”
and so on. Ara. -----Original Message----- Two inheritance bugs: 1. I have an EJB defined like this public class BodyBean implements Contactable, EntityBean { so the bean has another interface it implements besides
EntityBean The remote interface then also needs to implement
Contactable, the generator looses Contactable the interface 2. I have two EJB's PersonBean and BodyBean, PersonBean
extends BodyBean like this public class PersonBean extends BodyBean { XDoclet correctly generate the remote interface i.e. public interface Person extends Body XDoclet however goes on to generate inheritance for the home
interface like this: public interface PersonHome
extends com.jazzman.body.BodyHome This is wrong since now you have problems with methods like
findByPrimaryKey() because in BodyHome it returns Body but in PersonHome it
tries to return Person Andrew |
- [Xdoclet-user] Inheretance Bugs Nortje, Andrew
- Ara Abrahamian
