Yes. What you can't do and have it work as you might expect is deploy both a
and b as CMP EntityBeans. (It will work but as if they were two separate
classes (eg separate tables, separate home interfaces etc).)

-----Original Message-----
From: Shahar [mailto:[EMAIL PROTECTED]]
Sent: 03 January 2001 17:02
To: [EMAIL PROTECTED]
Subject: [jBoss-User] Inheritance in CMP beans


Hello again my favorite list.

Can I have :

class a {
   public String aProperty;
}

class b extends a implements EntityBean{
   public String anotherProperty;
}

and deploy bean b as a CMP to jBoss, refering to inherited properties in the
deployment descriptors, and have jBoss manage the bean properly ?



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to