I'm doing something similar here.  I have the concept of scheduled jobs,
where each session bean implements the Scheduled and ScheduledHome
interfaces.

There is no need to have each session bean have their own home and remote
interfaces which implement the Scheduled and ScheduledHome interfaces.  You
can directly specify the Scheduled and ScheduledHome interfaces in the
deployment descriptor for each bean you would like.

-----Original Message-----
From: Marco Mistroni [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 6:07 AM
To: [EMAIL PROTECTED]
Subject: all my beans implementing the same interface


hi all,
        i have a set of EJBs that represent converters (between lira/euro,
lira/dollar, lira/yen etc..)

so each EJB is implementing, other than the SessionBean interface, the
Converter interface.

Now, i am getting little lost.

shall i define one remote&home interface for each bean, or shall i keep the
same home/remote for all th beans??

the ejb compiler 'says' the first option.


i am asking u: is htere a way to create just one pair of home/remote
interface 4 all the session that implements the converter interface???


hope that u can help me

thanx in advance and regards
        marco

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