i've tried to invoke an remote ejb wich is deployed on an AS 5.1.0 from my code deployed in an AS 7.2 application.
I achieved the JNDI Lookup by adding JNP to my AS 7 project and do the lookup via InitialContext with the JNP Factory.
Afterwards i become an ClassCastException while casting the lookup-result on my EJB Interface. (could not cast com.sun.Proxy§53 to ...)
What else am I missing to achieve the remote invocation?
Thanks for you help
Retrieving data ...