I have a jboss 5.1 where are deployed some EJB. Now I have to write a client in a Springboot project. I can lookup them but when I try to cast the response I have the error: