yes my interfeis is import javax.ejb.Remote;
import javax.ejb.Remote; @Remote public interface Pisnami { btw this is new EJB i think that ctx.lookup lookups for Enterprise Archive... i mean Name of the Enterprise Application and it says ClassCastException becouse yes this is the name of delpoyment profile of "EAR" file not the EJB .. . but why i cant get the EJB by name ? how can i get it when it is on the ear the code that you paste with jndiName="somethink" in which jar is loceted that annotation ? ( interfeis ) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957123#3957123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957123 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user