I have a Session Bean like this:
@Stateless
@Local(MySessionBeanInterface.class)
public class MySessionBean implements MySessionBeanInterface {
}
I wanted to know if its okay to implement another interface as well. For instance, I have interface called, MyXYXInterface
. I want the above bean to implement this as well.
@Stateless
@Local(MySessionBeanInterface.class)
public class MySessionBean implements MySessionBeanInterface, MyXYZInterface {
}
So, in the context of EJB's / Session Beans, is it a bad thing? does it interfere with treatment of EJBs in the container?