This works:

 

            Remote obj = container.getProxyFactory().getEJBObject(null);

 

This does not work:

 

            Remote obj = container.getEJBObject(null);

 

I get an UnsupportedOperationException.  This is because the CGLIB method proxy’s super index does not index into a valid gbean invoker.

 

 

Regards,

Alan