here the detailed description of the problem:
http://forums.java.net/jive/thread.jspa?messageID=387443
2010/2/19 Felipe Gaścho <fgaucho_at_gmail.com>:
> I still need an example of a servlet consuming an EJB 3.1 deployed by
> another application...
>
> the scenario:
>
> - everything in a same Glassfish
> - 1 EAR application, containing an ejb-jar in the root and an
> ejb-client.jar in the lib folder
> - 1 WAR application, with a servlet trying to access the EJB through
> its @Local interface....
>
> please point me an example of that..........
>
> * I am doing a JNDI lookup and it is working but it returns a proxy
> that cannot be cast to the local interface....... what is missed ?
>
> --
> ------------------------------------------
> Felipe Gaścho
> 10+ Java Programmer
> CEJUG Senior Advisor
>
--
------------------------------------------
Felipe Gaścho
10+ Java Programmer
CEJUG Senior Advisor