[JBoss-user] [EJB 3.0] - Re: How to access Stateless Session bean from within MBean S

2006-01-19 Thread yantriki
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 ---

[JBoss-user] [EJB 3.0] - Re: How to access Stateless Session bean from within MBean S

2006-01-18 Thread jgc195
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.