[jboss-user] [EJB 3.0] - Re: Reflection on EJB session bean on client side

abra20 do-not-reply at jboss.com
Tue Aug 29 16:58:52 EDT 2006


Hi!

I have the same problem and I couldnt get things working.

When I typecast the object returned by the lookup (a Proxy),
I get ClassCastException and I really don't understand why.

The callByValue is set true.

And, the only place where my interfaces are is in the ejb-jar
which is deployed inside an ear file.

I also have a ejb-client jar with only the interfaces and it
is located at server/default/lib so JBoss can load the interfaces.

What am I doing wrong?

Thanks

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968219



More information about the jboss-user mailing list