[jboss-user] [EJB 3.0] - Re: ClassCastExeption while invoking a Bean
wolfc
do-not-reply at jboss.com
Tue May 15 07:11:42 EDT 2007
You're trying to narrow a directory context. You don't need to narrow an EJB3 and you should lookup the remote instead.
Please try:
MyRemote bean = (MyRemote) ctx.lookup("MyBean/remote");
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045752#4045752
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045752
More information about the jboss-user
mailing list