Hello,

I have some general EJB questions.

Imagine the case where we use a a CORBA/IIOP client (in C++ for example)
accessing a IIOP compliant EJB server.

1) An EJB server speaking to a Java client may provide a quite sophisticated
dynamic home or remote stub i.e. it could for example provide client
fail-over algorithm decision in the stub by downloading it to the client.
But if you use a standard CORBA/IIOP client, the stub is then static (result
from IDL compilation) and no particular behaviour can be sent from the
server to the client. Is this right? If yes, it means that all clients are
not equals regarding EJB access (Java client may be clever). Right?

2) When a Java client want to persist a reference to an entity bean, it
calls getHandle on it and serialises the reference. As this behaviour is not
possible from a non Java client using IIOP (it is? value object?) , how to
do it? directly using the CORBA object_to_string operation on the entity
reference? If yes, does something prevent us to do it even from a Java
client (by using object_to_string) as it is simpler?

In a more general way, is there any documentation/specification regarding
differences between accessing an EJB from Java/RMI and from
WhateverElse/IIOP? The change does not seem trivial (at least some issues
may be raised).

Thank you for any help. Cheers,



                                Sacha

===========================================================================
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".

Reply via email to