Vlada Matena wrote:
>
> With EJB 1.1, you will need to use PortableRemoteObject.narrow to
> convert the objects in the collection to the remote interface type. A direct
> Java cast may work on some vendors' products but a portable client should
> use the PortableRemoteObject.narrow for type narrowing of the objects
> returned in the collection.
>
> We understand that the use of PortableRemoteObject.narrow is not the
> most natural programming style for a Java programmer, and hope to find
> a better solution in a later EJB release.
The better solution would be to require the vendors to support direct
casting! It's not that hard to implement after all, even when using IIOP.
________________________________________________________________________________
Evan Ireland Sybase EA Server Engineering [EMAIL PROTECTED]
Wellington - New Zealand +64 4 934-5856
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".