This content has been marked as final.
Show 2 replies
-
1. Re: Multiple implementations of the same business interface
jaikiran Apr 7, 2009 6:42 AM (in response to mwoelke)How can I configure my EAR to inject a specific implementation of the interface?
You can use the beanName attribute of the @EJB@EJB (beanName="SLSB2") private SLSBInterface bean;
SLSB2 is a subclass of SLSB1
That's actually not allowed as per the spec:EJB3 spec, section 4.6.2 - "Optionally", bullet point 6
A session bean class must not have a superclass that is itself a session bean class. -
2. Re: Multiple implementations of the same business interface
mwoelke Apr 7, 2009 7:58 AM (in response to mwoelke)I see. Thanks a lot for this quick response.
Regards, Milan