On Tuesday 06 April 2004 21:46, [EMAIL PROTECTED] wrote:
> Hi Richard,
>
> this website :
>
> http://www.onjava.com/pub/a/onjava/2002/09/04/ejbinherit.html
>
> tell how do implement a polymorphic heritage with ejb CMP in
> weblogic.
> (It's hard to believe but the Onjava site is serious)
>
> Have you already try it (under JBOSS)??

Sure :-)

> Is there a plan for support polymormhism in EJB Cartdrige???

Its already in the EJB cartridge for AndroMDA 3.0. If I haven't overlooked 
something in the article (I've just skimmed through it and didn't read it 
thoroughly), the only real difference between their approach and the one in 
AndroMDA is that the AndroMDA EJB cartridge only allows inheritance from 
abstract base classes, not from concrete entities. 

The reason for this is even mentioned in the onjava article: "Not all EJB 
containers behave the same. Some vendors prohibit entity beans from extending 
other [entity bean] classes. This is due to the different ways the 
specification can be interpreted." 

Bye,

Richard
--
Richard Kunze 

[ t]ivano Software, Bahnhofstr. 18, 63263 Neu-Isenburg
Tel.: +49 6102 80 99 07 - 0, Fax.: +49 6102 80 99 07 - 1
http://www.tivano.de

Attachment: pgp00000.pgp
Description: signature

Reply via email to