This used to work out of box in JBoss 4.0.1.
But is not always working in JBoss 4.3.0.GA (we get sporadic exceptions)
I checked that Handle object (at least inside server JVM instance) is valid.
Exact error is in getEJBObject:
NameNotFoundException: Name UserproxyEJB is not bound in this context
First I had to add following two lines in JBoss server/conf/jndi.properties file for it to work at all:
What else needs to be done so serialization of EJB handle from server to client (for Stateful Session beans) work ?