I have an EJB3 module generated by AndroMDA and i want to built a stand alone client/web client not bundle together with EAR.
I am able to see the interface by JNDIView() in console.
But getting ClassCastException...$Proxy$... when trying to cast it to the class I need
I searched for hours and found these
- UseJBossWebLoader : done, not working
- Don't package the JAR with WAR : unable to reference to the class type
How can I get it to work???
It would help to see the code you are using to access the EJB and the full stack trace (well, at least the first 10 or so lines). Also, are you looking up a remote or local interface (I would assume remote since you are packaging the client separately).