Csaba Toth wrote:
Is it a problem, if the implementation class (KeyManagerServiceBean.java) is also contained in the ejb-jar?
Yes, if the ejb-jar file being deployed contains the implementation class which has been annotated as a bean then it will be deployed by the server. The server scans for classes containing the bean annotations.