Hi

Just noticed that when I code something like

        ejbContainer = EJBContainer.createEJBContainer(p);
        context = ejbContainer.getContext();

        networkDriversConfigurationFacadeEJB =
(NetworkDriversConfigurationFacadeEJB2)
context.lookup("java:global/NEAS/"+NetworkDriversConfigurationFacadeEJB2.class.getSimpleName());

and NetworkDriversConfigurationFacadeEJB2 is a class that does not
implement any interface, it works.

but if I implement any interface in NetworkDriversConfigurationFacadeEJB2,
I get an exception like

 java.lang.ClassCastException: com.sun.proxy.$Proxy105 cannot be cast to...

is that expected?

[]

Leo

Reply via email to