Yes.
In your DD, just set ejb-class to the concrete subclass
such as

<ejb-class>com.yourdomain.your.package.YourConcreteSubclassBean</ejb-class>

-----Original Message-----
From: Benjamin Broll [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 12:53 PM
To: [EMAIL PROTECTED]
Subject: AW: Cannot inherit methods ... ?


> Using interited bean methods (business or otherwise) is not
> forbidden in the spec. In fact I use them extensively in my
> beans.

I've got a question regarding the use of oo concepts as well.

If inhertance is permitted, is it as well possible to declare the super-bean
abstract so that no instance of that type can be created? I'm asking because
I'd like to build an Entity Bean which has behaviour common to several
Entity Beans which should inherit from this super-bean _but_ the behaviour
defined therein is not sufficient thus it has to be enhanced by sub-beans.

Now since I don't want this bean to be created (because this would create
invalid data in the database as well) I need a possibility to declare the
bean abstract. Do you have this possibility with EJB?

.bbr

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