Recursive function calls in a EJB context doesn't work