Title: RE: all my beans implementing the same interface



Should be possible if all the session beans have remote methods with same signature.
Only during deployment u  need to have different JNDI name for each session bean
so that, its  EJBObjects are not identical.

I don't think EJB complier will complain for common Home and Remote interface for different Session Bean Class.

Any different opinions on this are welcomed.

    -----Original Message-----
    From:   Marco Mistroni [SMTP:[EMAIL PROTECTED]]
    Sent:   Tuesday, December 04, 2001 4:37 PM
    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".

Reply via email to