Tuesday, June 10, 2003, 12:28:33 PM, Pete Beck wrote:

PB> Hi Mark,
PB> If you're using inheritance a lot in your design, you might be
PB> interested in JDO which seems to have better support for it than CMP
PB> 2.x.

PB> Alex Loubyansky has made some headway on a JBoss JDO project which uses
PB> the new AOP features in JBoss 4.0. For me this is a very interesting
PB> development.

No doubt ;)

Unfortunately, inheritance is not yet supported. But it will be.

No doubt ;)

alex

PB> 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.



-------------------------------------------------------
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

Reply via email to