Hi,
I got this FactorialBean, which has both local and remote home interfaces and remote interfaces (When deploying this bean, I filled up both the remote and local portions of the
J2EE RI server). Then I have this second EJB, defined within the same container and the same Jar as my FactorialBean, that is supposed to use FactorialBean (through local interface). Here's the code snippet of the second EJB:
However, when I ran my client application. I encounter a ClassCastException (caused by the second EJB). Here's the code snippet of the client:
I just followed what's on the book. How come this is not working. Please help! Thank you very much
Regards,
David