I am using the appropriate class to typecast.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3918507#3918507
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918507
---
Hi,
You shouldn't need the Remote interface if your classes operate in the same JVM.
Not sure if this will help, but I had the same problem as you
(java.lang.ClassCastException: $ProxyXXX) when I was trying to use a Stateless
Session Bean from within a second Stateless Session Bean.