I just tried one example with GlassFish 3.1.1 --> GlassFish 2.1.1, all
working well, didn't see the ClassCastException.
the client side (Mac OS, GlassFish 3.1.1): servlet --> local ejb
remove side (Linux), GlassFish 2.1.1: remote ejb
Sicne both ends are GlassFish, you can use the corbaname interop naming for
lookup, for example,
@EJB(mappedName = "corbaname:iiop:adfg61434.us.oracle.com:3700#test.TestIF")
TestIF remoteBean;
Other part of the app is the same as regular app, and no deployment
descriptor is used. Use bean-managed transaction for both the local and
remote ejb, if you don't need distributed transaction interopability.
--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/835539