Hi,
        Component inheritance is not defined by specs.But you may have
superclass for the bean class and can have ejbCreate and other business fn
in superclass. Same is the case of the interfaces. Please correct me if I am
wrong.


Regards
Ashwani Kalra
E-Comm Group
NIIT Ltd. India


> ----------
> From:         Jorge Salas-Ortiz[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list for Enterprise JavaBeans development
> Sent:         Tuesday, July 25, 2000 12:27 AM
> To:   [EMAIL PROTECTED]
> Subject:      Entity Bean and inheritance
>
> Hello all,
>
> Regarding EJB Entity beans, can I have the following:
>
> interface A extends EJBObject
> interface B extends interface A
>
> A and B are entity beans..where B maps to a DB table
> but not A.  Do I need to have an ABean and AHome for
> the interface A above?  I want the concrete class B to
> have BBean and BHome but not for A, A is an abstract
> class, hence it should not have a home for life-cycle
> methods, such as create().
>
> thanks..
>
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
> ==========================================================================
> =
> 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".

Reply via email to