Re: Remote vs Local Method Call Optimization

2000-11-05 Thread Robert Krueger

At 17:54 05.11.00 , you wrote:
Hi

Does anyone know if local/remote method calls from EJB to EJB are optimized
on Orion. For example if Entity Bean A calls Entity Bean B and they are both
located in the same app server (e.g. now a local call) then does orion
optimize this call. What I mean is does orion know that the call is local
and so does not go through all the remote call overheads.

yes, orion optimizes these calls.

snip/
(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: Remote vs Local Method Call Optimization

2000-11-05 Thread Peter Delahunty

Hi Robert

how do you know this ?

Also how does orion do this, will it just call methods normally in java when
the Entity Beans are local.

cheers

-Original Message-
From: Robert Krueger [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 05, 2000 7:08 PM
To: Orion-Interest
Subject: Re: Remote vs Local Method Call Optimization


At 17:54 05.11.00 , you wrote:
Hi

Does anyone know if local/remote method calls from EJB to EJB are optimized
on Orion. For example if Entity Bean A calls Entity Bean B and they are
both
located in the same app server (e.g. now a local call) then does orion
optimize this call. What I mean is does orion know that the call is local
and so does not go through all the remote call overheads.

yes, orion optimizes these calls.

snip/
(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: Remote vs Local Method Call Optimization

2000-11-05 Thread Robert Krueger

At 20:42 05.11.00 , you wrote:
Hi Robert

how do you know this ?

1. I asked the orion guys
2. how else could it be that fast?
3. output of getClass() you'll get the wrapper class name that contains all 
the local stiff like db operations etc.

Also how does orion do this, will it just call methods normally in java when
the Entity Beans are local.

it should at least keep pass-by-value semantics (i.e. deep-copy all 
parameters of bean invocations), otherwise it would violate the specs. 
however, I never really checked.

robert

cheers

-Original Message-
From: Robert Krueger [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 05, 2000 7:08 PM
To: Orion-Interest
Subject: Re: Remote vs Local Method Call Optimization


At 17:54 05.11.00 , you wrote:
 Hi
 
 Does anyone know if local/remote method calls from EJB to EJB are optimized
 on Orion. For example if Entity Bean A calls Entity Bean B and they are
both
 located in the same app server (e.g. now a local call) then does orion
 optimize this call. What I mean is does orion know that the call is local
 and so does not go through all the remote call overheads.

yes, orion optimizes these calls.

snip/
(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de