Hi !

First of all you cannot cast a remote interface but must use 
"PortableRemoteObject.narrow":

Object objRemote = initialContext.lookup("....");
BoardGamesServiceFacade bgsf = (BoardGamesServiceFacade) 
PortableRemoteObject.narrow(objRemote, BoardGamesServiceFacade.class);

The JNDI-name of your bean is by default    
"EarName/BoardGamesServiceFacadeBean/remote" (where EARName is probably "bgsw" 
in your sample, your JNDI snippet is missing the first line where the ear name 
is shown ;-) ).

Hope this helps

Wolfgang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978098#3978098

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978098
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to