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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...