This content has been marked as final.
Show 1 reply
-
1. Re: Accessing localhome objects from a simple client
mcschmidt_00 Apr 18, 2003 12:55 AM (in response to markcng)It's hard to tell from your post where you're trying to access the object from. Local interfaces are mostly for accessing from another EJB, as they have to be accessed from within the same JVM. If you're trying to access from a stand alone client or servlet I don't think it'll work.
Also, is the PortableRemoteObject.narrow call commented out? You don't use that for calls on local interfaces, it only for use on remote interfaces. Use a simple downcast.