This content has been marked as final.
Show 1 reply
-
1. Re: Put ejb into JNDI
mlindhout Nov 20, 2002 11:16 AM (in response to benkarsa)Hi there,
I don't know if it is the solution, but acoording to me (and the spec) you must narrow the looked up object with PortableRemoteObject.narrow(java.lang.Object, java.lang.Class) before you may cast it to xxxHome. Don't ask me why... ;-)
Try this:
home = (SequenceLocalHome)PortableRemoteObject.narrow(obj, SequenceLocalHome.class);