Hi Mark, If you're using inheritance a lot in your design, you might be interested in JDO which seems to have better support for it than CMP 2.x.
Alex Loubyansky has made some headway on a JBoss JDO project which uses the new AOP features in JBoss 4.0. For me this is a very interesting development. On Fri, 2003-06-06 at 14:52, [EMAIL PROTECTED] wrote: > 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. > -- Peter Beck BEng (hons) MIEE - Managing Director, Electrostrata Ltd. http://www.electrostrata.com --+-+-- Experts in e-business and e-commerce ------------------------------------------------------- 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