Alvin, I have used inheritance where the EJB inherits a class and work fine but I have not used class inheriting from ejb. Remember, the EJB within a CMP context is abstract and does not use the EJB explicitly.
Regards Glenn ----- Original Message ----- From: "Alvin Wang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 27, 2002 11:02 PM Subject: Can I do inheritance on Entity bean in EJB 2.0? > Hi! I wander of I can do inheritance on Entity bean in EJB 2.0? If yes, what > is the phisical meaning of inheritance on Entity bean? Every Entity bean > represent a table. Does it mean that database tables also have inheritance > relationship? And is there any difference on CMP and BMP on this? > > The reason I am asking is that I am working on a project that takes several > kinds of requests from client. We want to model the requests as entity > beans. So we also want to model a abstract general parent class for request, > so all the concrete requests Entity bean will inherit from it. Is it a > feasible design? will the parent class has a table conresponding to? (I do > not think so) Is there any sample for inheritance on Entity bean? > > By the way, can I do inheritance on Session bean and Message bean? > > Any guru can help? Thank you! > > Alvin > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff EJB-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
