You should archive your common classes to a jar file and put it
in your ear...
Don't forget to add an entry to your META-INF/application.xml..
<module> <java>my-common-classes.jar</java> </module>
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).
I must have missed something earlier, close the tag or something.
But your answer helped Robisz while it made me to double check and it worked...
See my earlier thread...