Hey guys,
         Thanks very much for all the replies. I went ahead and changed
the superclasses so that they were abstract with abstract methods for
the fields etc and also placed the fields in the ejb description of the
subclasses in the descriptor and everything seems to be working fine so
far. I haven't extended the super class with EntityBean itself as it's
never instantiated itself. So the superclass extends both the superclass
and entitybean.

Peter S: Thanks a million for the heads up on that article. It was dead
interesting and sounds like a much more solid solution than what I'm
doing at present.

Pete B: To be honest Pete I can't honestly say I know what JDO stands
for. Unfortunately I've found myself in one of those positions where
they don't give you the time to learn the background for stuff and
instead ye just have to get stuff working by hook or by crook. 

David : Thanks very much for the Xdoclet heads up. My deployment at the
minute is relatively small and at the moment I'm not comfortable enough
with CMP and indeed EJB2.0 to allow for the autogeneration of the
deployment descriptors. Having said that I can definitely see the
benefit and indeed the necessity of using Xdoc in large deployments. I
understand that there's some versioning issues between Xdoclet and
jboss. I'm currently using Jboss 3.2.1. Is there any chance you could
recommend which version of Xdoclet's most appropriate for 3.2.1 and
maybe point me in the direction of a quick start guide to using it if
there's one available? I get the sneaking suspicion it might a case of
jumping in at the deep end with it though. Thanks for your time. 

Thanks everybody for helping me with this.
Regards,
Mark.







-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexey
Loubyansky
Sent: 10 June 2003 11:25
To: Pete Beck
Subject: Re[2]: [JBoss-user] CMP2.0 and inheritance.


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 
PB> uses the new AOP features in JBoss 4.0. For me this is a very 
PB> interesting 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



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