Se Hee -
You should narrow() for all EJB downcasting, and should not rely on
language casting. This is required in EJB1.1 - mainly for IIOP I think.
I would have expected a more meaningful stack trace than this. 2 things
you might try:
1. Check the type of the object before you cast it. I know,
tHome)
PortableRemoteObject.narrow(obj, TestHome.class);
Both the Weblogic server and servlet are running off the same machine, and I
am using the weblogic 5.1 for researching purposes.
Am I wrong in using the PortableRemoteObject here?? and just use the normal
class casting or ??
The error me
You can find Javadoc for PortableRemoteObject
in the JBroker 2.0 Reference
documentation:
http://www.objectEra.com/jbroker/docs/reference/api/javax/rmi/PortableRemoteObject.html
-Rohit Garg
ObjectEra, Inc.
http://www.objectEra.com
Where do I get information on javax.rmi.PortableRemoteObject
Hey
Evan Ireland wrote:
> It is surprising to me that when the spec so clearly states that this
> class must be used to portably narrow references, that it has been so
> extraordinarily difficult for us to obtain an implementation! The most
> recent thing we were told by one Sun representative wa
Richard Monson-Haefel wrote:
> Where do I get information on javax.rmi.PortableRemoteObject class? Its used
> in the spec to narrow remote references
http://developer.java.sun.com/developer/earlyAccess/rmi-iiop/index.html
I've been told that 1.0 will be available in a couple of weeks.
/R
--
Ri
It's part of the RMI-IIOP package.
> -Original Message-
> From: Richard Monson-Haefel [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, May 19, 1999 1:49 PM
> To: [EMAIL PROTECTED]
> Subject: PortableRemoteObject
>
> Where do I get information on javax.rmi.
eem to
include the "IDL:" prefix in the CORBA repository id that is passes
in _is_a calls to the server (I am sure this will be easily fixed).
Perhaps someone with some background knowledge of what is going on here
could shed some light on the situation. As far as I can tell, the first
me
Where do I get information on javax.rmi.PortableRemoteObject class? Its used
in the spec to narrow remote references
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTE