I added the classes to my ejb-module.jar and it was accessed with no error. But I want all my EJBs to access this classes, thats why I want them in my EAR file.
Is there no other way to solve this then putting the classes in each EJB-modul.jars ?
Well I must have missed something I tried again as
putting it in the application.xml, in a module tag and it worked (very-very strange).
< module >
< java >apps-client.jar</ java >
</ module >
I must have missed something earlier, close the tag or something.