anonymous wrote : 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;
anonymous wrote : SLSB2 is a subclass of SLSB1
That's actually not allowed as per the spec:
anonymous wrote : 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.
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223985#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...