Sorry the name of the topic is misleading. It must be:
EJB3.0, I can not separate stateless bean from its interface!
Ok, I found a solution. In the application.xml I marked ejb-interface.jar as an ejb module.
But I don't understand why it is not possible just to move out the ejb interfaces, as so and so they will be use by other modules.