Title: Message
Hi folks,
            If I have an entity bean say ManEJB that inherits from the person class, what restrictions
must be imposed on the superclass in order for the inheritance to be valid?
 
Maybe if someone could get perhaps answer the following quick questions if they had the time that would be fantastic.
 
1. Must the superclass also be declared abstract?
 
2. Must the superclass implement EntityBean?
 
3. Must the superclass's fields I wish to persist be declared in the normal fashion?
        i.e. with abstract accessor methods and the <cmp-field> elements in the descriptor of the subclass?
 
Thanks,
Mark.
 

Reply via email to