The EJB model encourages developers to make use of the class heirarchy and
inheritance .
So the super class of a bean can be another bean or just another java
class.
Similar logic applies to the RI and the HI too.
If you think your base bean is to be abstract then it should be just a java
class and cannot an EJB.So there would be no need to have RI's for your
base bean.
So the bean classes will be...
1.class YourSessionBean extends BaseSessionBean
2.YourSessionRemote
3.YourSessionHome
The thing to remember is that the technology is EJB , but the language is
still Java.
Cheers!
Rajagopalan N
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Ankur Jain
Sent: Saturday, May 19, 2001 01:41 PM
To: [EMAIL PROTECTED]
Subject: How can a stateless Session Bean extend from another Stateless
session Bean
Hi,
I have a senario where I need to extend a stateless session bean from
another stateless session bean which I want it to be declared abstract. Is
this possible. If yes, do I also need a RemoteIF for the the base abstract
bean.
Thanks in advance,
Ankur
===========================================================================
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".