I have forgotten to add that the home interface of my EJB is well-registered in the JNDI tree
the EJB name
> Exception in thread "main"
> java.lang.NoClassDefFoundError: CalcClient (wrong
> name: fr/bean/session/stateless/CalcClient)
This message usually indicates that there is something wrong with a package name: check that your class is in that package indeed, and that the class file is in a directory structure reflecting the package structure.