I'll try to be more precise. In order to interact with Y, X must use a 
reference to Y. This reference determines the protocol over which the 
interaction will take place.

If X calls Y for its own consumption, without obtaining from Y any
reference that may be returned to the caller of X, then X is free to
interact with Y using whatever reference (protocol) it wants.

If X is called via IIOP and interacts with Y in order to obtain a 
reference that may be returned to the caller of X, then X and Y ougth 
to interact via IIOP, possibly optimized for local invocations.

Invoker-specific (ReferenceFactory-specific, really) ejb-refs allow you 
to set things up so that X uses an IOR for Y if it was called via IIOP, 
and uses a Java proxy for Y otherwise. 

Cheers,

Francisco

On Wed, 5 Mar 2003, Scott M Stark wrote:

> I understand the need to return the correct proxy the outermost client. For
> For an IIOP invocation into bean X that calls Y for its own consumption,
> you are saying that the interaction between X and Y will be via IIOP because
> of the possibility that a proxy obtained from Y may be returned to the caller
> of X?
> 
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to