Mark, I found this series of articles to be informative:
http://www.onjava.com/pub/a/onjava/2002/09/04/ejbinherit.html Peter -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 9:53 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] CMP2.0 and inheritance. 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. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user