[jboss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi

J0Ke do-not-reply at jboss.com
Tue Jul 11 15:48:56 EDT 2006

yes my interfeis is 

import javax.ejb.Remote;

import javax.ejb.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

More information about the jboss-user mailing list