Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

PB Intercomponent calls on EAServer

14 posts in General Discussion (old) Last posting was on 2000-03-07 10:42:01.0Z
JagUser Posted on 2000-03-05 13:25:05.0Z
Newsgroups: sybase.public.easerver
From: "JagUser" <jaguser@hotmail.com>
Subject: PB Intercomponent calls on EAServer
Date: Sun, 5 Mar 2000 05:25:05 -0800
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: c36863-a.frmt1.sfba.home.com 24.1.20.48
Message-ID: <347_iQ1j7bqh$GA.202@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27148
Article PK: 158069

Apologize if this message has been posted multiple times. I've been having
problems posting via Deja News.
----------------------------------------------------------------------------
--------------------

I have a couple of conceptual questions.

The scenario. I am deploying PB components on EAServer 3.5 standard,
stateless components. Let's consider four objects. Object A is a
standard, stateless component, object B is also a standard, stateless
component, while object C is an included object - included by virtue of
being a referenced object in the pbl - say, referenced by Object A.
Object D is a message object - an nvo with a set of instance variables,
which include datastores - and is also included as a referenced object.

1. Object A instantiates Object D using the CREATE statement. If Object
A then obtains a handle to Object B using
transactionserver.createinstance(), can object A invoke a method in
object B and pass Object D as an argument (by value or reference)?

2. Object A instantiates Object D using the CREATE statement. Object A
also instantiates Object C using either CREATE or CREATE USING(). Can
Object A invoke a method in Object C and pass Object D as an argument?

3. Is it true that since all the objects (A-D) are deployed (A and B
explicitly, C and D are referenced) onto the same Jaguar server within
the same package, I wouldn't need to create proxies of B and C to
access them from A?

All the above are PB components.
Thanks.


Scott McReynolds [Sybase] Posted on 2000-03-06 06:16:06.0Z
Newsgroups: sybase.public.easerver
From: "Scott McReynolds [Sybase]" <scottmc@sybase.com>
Subject: Re: PB Intercomponent calls on EAServer
Date: Sun, 5 Mar 2000 23:16:06 -0700
Lines: 47
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: scottmc-pc.sybase.com 158.77.110.143
Message-ID: <347_DCxEyPzh$GA.201@forums.sybase.com>
References: <347_iQ1j7bqh$GA.202@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27131
Article PK: 158055

JagUser,

You should not do intercomponent calls using the Create verb. You should
use the proxy object and create the objects using the createInstance()
method. The object causes problems when jaguar is under load.

Scott

JagUser <jaguser@hotmail.com> wrote in message
news:iQ1j7bqh$GA.202@forums.sybase.com...
> Apologize if this message has been posted multiple times. I've been having
> problems posting via Deja News.
> --------------------------------------------------------------------------
--
> --------------------
>
> I have a couple of conceptual questions.
>
> The scenario. I am deploying PB components on EAServer 3.5 standard,
> stateless components. Let's consider four objects. Object A is a
> standard, stateless component, object B is also a standard, stateless
> component, while object C is an included object - included by virtue of
> being a referenced object in the pbl - say, referenced by Object A.
> Object D is a message object - an nvo with a set of instance variables,
> which include datastores - and is also included as a referenced object.
>
> 1. Object A instantiates Object D using the CREATE statement. If Object
> A then obtains a handle to Object B using
> transactionserver.createinstance(), can object A invoke a method in
> object B and pass Object D as an argument (by value or reference)?
>
> 2. Object A instantiates Object D using the CREATE statement. Object A
> also instantiates Object C using either CREATE or CREATE USING(). Can
> Object A invoke a method in Object C and pass Object D as an argument?
>
> 3. Is it true that since all the objects (A-D) are deployed (A and B
> explicitly, C and D are referenced) onto the same Jaguar server within
> the same package, I wouldn't need to create proxies of B and C to
> access them from A?
>
> All the above are PB components.
> Thanks.
>
>
>


Glenn Santa Cruz Posted on 2000-03-06 15:49:42.0Z
Newsgroups: sybase.public.easerver
Date: Mon, 06 Mar 2000 09:49:42 -0600
From: Glenn Santa Cruz <spam?no.glenn_santacruz@dailyaccess.com>
Organization: Daily Access Concepts
X-Mailer: Mozilla 4.7 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: PB Intercomponent calls on EAServer
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 54
NNTP-Posting-Host: 12.6.74.30
Message-ID: <347_38C3D396.77CE6953@dailyaccess.com>
References: <347_iQ1j7bqh$GA.202@forums.sybase.com> <347_DCxEyPzh$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27099
Article PK: 158028

PMFJI, but could you please clarify "the object causes problems when
jaguar is under load?"

Thanks

Glenn

"Scott McReynolds [Sybase]" wrote:
>
> JagUser,
>
> You should not do intercomponent calls using the Create verb. You should
> use the proxy object and create the objects using the createInstance()
> method. The object causes problems when jaguar is under load.
>
> Scott
>
> JagUser <jaguser@hotmail.com> wrote in message
> news:iQ1j7bqh$GA.202@forums.sybase.com...
> > Apologize if this message has been posted multiple times. I've been having
> > problems posting via Deja News.
> > --------------------------------------------------------------------------
> --
> > --------------------
> >
> > I have a couple of conceptual questions.
> >
> > The scenario. I am deploying PB components on EAServer 3.5 standard,
> > stateless components. Let's consider four objects. Object A is a
> > standard, stateless component, object B is also a standard, stateless
> > component, while object C is an included object - included by virtue of
> > being a referenced object in the pbl - say, referenced by Object A.
> > Object D is a message object - an nvo with a set of instance variables,
> > which include datastores - and is also included as a referenced object.
> >
> > 1. Object A instantiates Object D using the CREATE statement. If Object
> > A then obtains a handle to Object B using
> > transactionserver.createinstance(), can object A invoke a method in
> > object B and pass Object D as an argument (by value or reference)?
> >
> > 2. Object A instantiates Object D using the CREATE statement. Object A
> > also instantiates Object C using either CREATE or CREATE USING(). Can
> > Object A invoke a method in Object C and pass Object D as an argument?
> >
> > 3. Is it true that since all the objects (A-D) are deployed (A and B
> > explicitly, C and D are referenced) onto the same Jaguar server within
> > the same package, I wouldn't need to create proxies of B and C to
> > access them from A?
> >
> > All the above are PB components.
> > Thanks.
> >
> >
> >


JagUser Posted on 2000-03-06 15:36:30.0Z
Newsgroups: sybase.public.easerver
From: "JagUser" <jaguser@hotmail.com>
Subject: Re: PB Intercomponent calls on EAServer
Date: Mon, 6 Mar 2000 07:36:30 -0800
Lines: 60
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: c36863-a.frmt1.sfba.home.com 24.1.20.48
Message-ID: <347_hTzVHK4h$GA.74@forums.sybase.com>
References: <347_iQ1j7bqh$GA.202@forums.sybase.com> <347_DCxEyPzh$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27101
Article PK: 158029

Thanks Scott.

That answers a part of my question. Any thoughts on the object passing bit
(assuming I use proxies and CreateInstance in each of my scenarios)?

-JagUser.

"Scott McReynolds [Sybase]" <scottmc@sybase.com> wrote in message
news:DCxEyPzh$GA.201@forums.sybase.com...
> JagUser,
>
> You should not do intercomponent calls using the Create verb. You should
> use the proxy object and create the objects using the createInstance()
> method. The object causes problems when jaguar is under load.
>
> Scott
>
> JagUser <jaguser@hotmail.com> wrote in message
> news:iQ1j7bqh$GA.202@forums.sybase.com...
> > Apologize if this message has been posted multiple times. I've been
having
> > problems posting via Deja News.
>
> --------------------------------------------------------------------------
> --
> > --------------------
> >
> > I have a couple of conceptual questions.
> >
> > The scenario. I am deploying PB components on EAServer 3.5 standard,
> > stateless components. Let's consider four objects. Object A is a
> > standard, stateless component, object B is also a standard, stateless
> > component, while object C is an included object - included by virtue of
> > being a referenced object in the pbl - say, referenced by Object A.
> > Object D is a message object - an nvo with a set of instance variables,
> > which include datastores - and is also included as a referenced object.
> >
> > 1. Object A instantiates Object D using the CREATE statement. If Object
> > A then obtains a handle to Object B using
> > transactionserver.createinstance(), can object A invoke a method in
> > object B and pass Object D as an argument (by value or reference)?
> >
> > 2. Object A instantiates Object D using the CREATE statement. Object A
> > also instantiates Object C using either CREATE or CREATE USING(). Can
> > Object A invoke a method in Object C and pass Object D as an argument?
> >
> > 3. Is it true that since all the objects (A-D) are deployed (A and B
> > explicitly, C and D are referenced) onto the same Jaguar server within
> > the same package, I wouldn't need to create proxies of B and C to
> > access them from A?
> >
> > All the above are PB components.
> > Thanks.
> >
> >
> >
>
>


Peter Reedijk Posted on 2000-03-06 16:01:05.0Z
Newsgroups: sybase.public.easerver
From: "Peter Reedijk" <peter.reedijk@pica.nl>
Organization: 192.87.44.61
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: Re: PB Intercomponent calls on EAServer
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Mon, 06 Mar 2000 11:01:05 -0500
Lines: 75
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_FSWYtU4h$GA.74@forums.sybase.com>
References: <347_iQ1j7bqh$GA.202@forums.sybase.com> <347_DCxEyPzh$GA.201@forums.sybase.com> <347_hTzVHK4h$GA.74@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27097
Article PK: 158026

JagUser,
You can only pass objects between components that are themselves deployed as
Jaguar components, so for your object C and D:

case 1 (A to B): No, B is a different component and you cannot pass the nvo D
case 2 (A to C): Yes, C is 'in the scope' of A and can be regarded as a 'plain'
nvo, for which all the PowerBuilder rules apply, including nvo's such as D as a
function argument

HTH,
Peter

On Mon, 6 Mar 2000 07:36:30 -0800,
in powersoft.public.easerver

JagUser <jaguser@hotmail.com> wrote:
>Thanks Scott.
>
>That answers a part of my question. Any thoughts on the object passing bit
>(assuming I use proxies and CreateInstance in each of my scenarios)?
>
>-JagUser.
>
>"Scott McReynolds [Sybase]" <scottmc@sybase.com> wrote in message
>news:DCxEyPzh$GA.201@forums.sybase.com...
>> JagUser,
>>
>> You should not do intercomponent calls using the Create verb. You should
>> use the proxy object and create the objects using the createInstance()
>> method. The object causes problems when jaguar is under load.
>>
>> Scott
>>
>> JagUser <jaguser@hotmail.com> wrote in message
>> news:iQ1j7bqh$GA.202@forums.sybase.com...
>> > Apologize if this message has been posted multiple times. I've been
>having
>> > problems posting via Deja News.
>>
>> --------------------------------------------------------------------------
>> --
>> > --------------------
>> >
>> > I have a couple of conceptual questions.
>> >
>> > The scenario. I am deploying PB components on EAServer 3.5 standard,
>> > stateless components. Let's consider four objects. Object A is a
>> > standard, stateless component, object B is also a standard, stateless
>> > component, while object C is an included object - included by virtue of
>> > being a referenced object in the pbl - say, referenced by Object A.
>> > Object D is a message object - an nvo with a set of instance variables,
>> > which include datastores - and is also included as a referenced object.
>> >
>> > 1. Object A instantiates Object D using the CREATE statement. If Object
>> > A then obtains a handle to Object B using
>> > transactionserver.createinstance(), can object A invoke a method in
>> > object B and pass Object D as an argument (by value or reference)?
>> >
>> > 2. Object A instantiates Object D using the CREATE statement. Object A
>> > also instantiates Object C using either CREATE or CREATE USING(). Can
>> > Object A invoke a method in Object C and pass Object D as an argument?
>> >
>> > 3. Is it true that since all the objects (A-D) are deployed (A and B
>> > explicitly, C and D are referenced) onto the same Jaguar server within
>> > the same package, I wouldn't need to create proxies of B and C to
>> > access them from A?
>> >
>> > All the above are PB components.
>> > Thanks.
>> >
>> >
>> >
>>
>>
>
>

---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


JagUser Posted on 2000-03-06 17:28:10.0Z
Newsgroups: sybase.public.easerver
From: "JagUser" <jaguser@hotmail.com>
Subject: Re: PB Intercomponent calls on EAServer
Date: Mon, 6 Mar 2000 09:28:10 -0800
Lines: 111
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: vpn-eme-041.sybase.com 130.214.8.41
Message-ID: <347_Us7ygI5h$GA.201@forums.sybase.com>
References: <347_iQ1j7bqh$GA.202@forums.sybase.com> <347_DCxEyPzh$GA.201@forums.sybase.com> <347_hTzVHK4h$GA.74@forums.sybase.com> <347_FSWYtU4h$GA.74@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27082
Article PK: 158016

Peter,

Pardon my for being a little dense, but, I don't really understand the
explanation for case1.

Since A and B are both deployed as standard Jag components and A then
instantiates B using TransServer.CreateInstance(), can I not pass an object
(say, an nvo D which, A creates) while invoking a method on B from A?

From the first sentence of your reply, I'd assume that the above is
possible. Your explanation for case2 makes perfect sense. Thanks.

-JagUser.

"Peter Reedijk" <peter.reedijk@pica.nl> wrote in message
news:FSWYtU4h$GA.74@forums.sybase.com...
> JagUser,
> You can only pass objects between components that are themselves deployed
as
> Jaguar components, so for your object C and D:
>
> case 1 (A to B): No, B is a different component and you cannot pass the
nvo D
> case 2 (A to C): Yes, C is 'in the scope' of A and can be regarded as a
'plain'
> nvo, for which all the PowerBuilder rules apply, including nvo's such as D
as a
> function argument
>
> HTH,
> Peter
>
> On Mon, 6 Mar 2000 07:36:30 -0800,
> in powersoft.public.easerver
> JagUser <jaguser@hotmail.com> wrote:
> >Thanks Scott.
> >
> >That answers a part of my question. Any thoughts on the object passing
bit
> >(assuming I use proxies and CreateInstance in each of my scenarios)?
> >
> >-JagUser.
> >
> >"Scott McReynolds [Sybase]" <scottmc@sybase.com> wrote in message
> >news:DCxEyPzh$GA.201@forums.sybase.com...
> >> JagUser,
> >>
> >> You should not do intercomponent calls using the Create verb. You
should
> >> use the proxy object and create the objects using the createInstance()
> >> method. The object causes problems when jaguar is under load.
> >>
> >> Scott
> >>
> >> JagUser <jaguser@hotmail.com> wrote in message
> >> news:iQ1j7bqh$GA.202@forums.sybase.com...
> >> > Apologize if this message has been posted multiple times. I've been
> >having
> >> > problems posting via Deja News.
> >>
>
>> -------------------------------------------------------------------------
-
> >> --
> >> > --------------------
> >> >
> >> > I have a couple of conceptual questions.
> >> >
> >> > The scenario. I am deploying PB components on EAServer 3.5 standard,
> >> > stateless components. Let's consider four objects. Object A is a
> >> > standard, stateless component, object B is also a standard, stateless
> >> > component, while object C is an included object - included by virtue
of
> >> > being a referenced object in the pbl - say, referenced by Object A.
> >> > Object D is a message object - an nvo with a set of instance
variables,
> >> > which include datastores - and is also included as a referenced
object.
> >> >
> >> > 1. Object A instantiates Object D using the CREATE statement. If
Object
> >> > A then obtains a handle to Object B using
> >> > transactionserver.createinstance(), can object A invoke a method in
> >> > object B and pass Object D as an argument (by value or reference)?
> >> >
> >> > 2. Object A instantiates Object D using the CREATE statement. Object
A
> >> > also instantiates Object C using either CREATE or CREATE USING(). Can
> >> > Object A invoke a method in Object C and pass Object D as an
argument?
> >> >
> >> > 3. Is it true that since all the objects (A-D) are deployed (A and B
> >> > explicitly, C and D are referenced) onto the same Jaguar server
within
> >> > the same package, I wouldn't need to create proxies of B and C to
> >> > access them from A?
> >> >
> >> > All the above are PB components.
> >> > Thanks.
> >> >
> >> >
> >> >
> >>
> >>
> >
> >
>
> ---== Posted via the PFCGuide Web Newsreader ==---
> http://www.pfcguide.com/_newsgroups/group_list.asp


Mark Maslow Posted on 2000-03-06 18:37:15.0Z
Newsgroups: sybase.public.easerver
From: "Mark Maslow" <mark.maslow@sierraclub.org>
Subject: Re: PB Intercomponent calls on EAServer
Date: Mon, 6 Mar 2000 10:37:15 -0800
Lines: 134
Organization: Sierra Club
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: machine001.sierraclub.org 207.90.163.1
Message-ID: <347_7t64gv5h$GA.251@forums.sybase.com>
References: <347_iQ1j7bqh$GA.202@forums.sybase.com> <347_DCxEyPzh$GA.201@forums.sybase.com> <347_hTzVHK4h$GA.74@forums.sybase.com> <347_FSWYtU4h$GA.74@forums.sybase.com> <347_Us7ygI5h$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27075
Article PK: 158007

My understanding is that intercomponent calls can only pass CORBA compliant
parameters. That includes basic datatypes such as long, string, datetime,
etc., as well as structures made up of such types. It does *not* include PB
NVOs, which is why you can't have A pass D to B (I think I said that right
:-)

Mark Maslow

JagUser <jaguser@hotmail.com> wrote in message
news:Us7ygI5h$GA.201@forums.sybase.com...
> Peter,
>
> Pardon my for being a little dense, but, I don't really understand the
> explanation for case1.
>
> Since A and B are both deployed as standard Jag components and A then
> instantiates B using TransServer.CreateInstance(), can I not pass an
object
> (say, an nvo D which, A creates) while invoking a method on B from A?
>
> From the first sentence of your reply, I'd assume that the above is
> possible. Your explanation for case2 makes perfect sense. Thanks.
>
> -JagUser.
>
> "Peter Reedijk" <peter.reedijk@pica.nl> wrote in message
> news:FSWYtU4h$GA.74@forums.sybase.com...
> > JagUser,
> > You can only pass objects between components that are themselves
deployed
> as
> > Jaguar components, so for your object C and D:
> >
> > case 1 (A to B): No, B is a different component and you cannot pass the
> nvo D
> > case 2 (A to C): Yes, C is 'in the scope' of A and can be regarded as a
> 'plain'
> > nvo, for which all the PowerBuilder rules apply, including nvo's such as
D
> as a
> > function argument
> >
> > HTH,
> > Peter
> >
> > On Mon, 6 Mar 2000 07:36:30 -0800,
> > in powersoft.public.easerver
> > JagUser <jaguser@hotmail.com> wrote:
> > >Thanks Scott.
> > >
> > >That answers a part of my question. Any thoughts on the object passing
> bit
> > >(assuming I use proxies and CreateInstance in each of my scenarios)?
> > >
> > >-JagUser.
> > >
> > >"Scott McReynolds [Sybase]" <scottmc@sybase.com> wrote in message
> > >news:DCxEyPzh$GA.201@forums.sybase.com...
> > >> JagUser,
> > >>
> > >> You should not do intercomponent calls using the Create verb. You
> should
> > >> use the proxy object and create the objects using the
createInstance()
> > >> method. The object causes problems when jaguar is under load.
> > >>
> > >> Scott
> > >>
> > >> JagUser <jaguser@hotmail.com> wrote in message
> > >> news:iQ1j7bqh$GA.202@forums.sybase.com...
> > >> > Apologize if this message has been posted multiple times. I've been
> > >having
> > >> > problems posting via Deja News.
> > >>
> >
>
>> -------------------------------------------------------------------------
> -
> > >> --
> > >> > --------------------
> > >> >
> > >> > I have a couple of conceptual questions.
> > >> >
> > >> > The scenario. I am deploying PB components on EAServer 3.5
standard,
> > >> > stateless components. Let's consider four objects. Object A is a
> > >> > standard, stateless component, object B is also a standard,
stateless
> > >> > component, while object C is an included object - included by
virtue
> of
> > >> > being a referenced object in the pbl - say, referenced by Object A.
> > >> > Object D is a message object - an nvo with a set of instance
> variables,
> > >> > which include datastores - and is also included as a referenced
> object.
> > >> >
> > >> > 1. Object A instantiates Object D using the CREATE statement. If
> Object
> > >> > A then obtains a handle to Object B using
> > >> > transactionserver.createinstance(), can object A invoke a method in
> > >> > object B and pass Object D as an argument (by value or reference)?
> > >> >
> > >> > 2. Object A instantiates Object D using the CREATE statement.
Object
> A
> > >> > also instantiates Object C using either CREATE or CREATE USING().
Can
> > >> > Object A invoke a method in Object C and pass Object D as an
> argument?
> > >> >
> > >> > 3. Is it true that since all the objects (A-D) are deployed (A and
B
> > >> > explicitly, C and D are referenced) onto the same Jaguar server
> within
> > >> > the same package, I wouldn't need to create proxies of B and C to
> > >> > access them from A?
> > >> >
> > >> > All the above are PB components.
> > >> > Thanks.
> > >> >
> > >> >
> > >> >
> > >>
> > >>
> > >
> > >
> >
> > ---== Posted via the PFCGuide Web Newsreader ==---
> > http://www.pfcguide.com/_newsgroups/group_list.asp
>
>


Jim O'Neil [Sybase] Posted on 2000-03-06 22:59:34.0Z
Newsgroups: sybase.public.easerver
Date: Mon, 06 Mar 2000 17:59:34 -0500
From: "Jim O'Neil [Sybase]" <joneil@sybase.com>
Organization: Sybase, Inc.
X-Mailer: Mozilla 4.7 [en]C-CCK-MCD (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: PB Intercomponent calls on EAServer
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 19
NNTP-Posting-Host: joneil-nt.sybase.com 204.167.42.111
Message-ID: <347_38C43855.9DA0F032@sybase.com>
References: <347_iQ1j7bqh$GA.202@forums.sybase.com> <347_DCxEyPzh$GA.201@forums.sybase.com> <347_hTzVHK4h$GA.74@forums.sybase.com> <347_FSWYtU4h$GA.74@forums.sybase.com> <347_Us7ygI5h$GA.201@forums.sybase.com> <347_7t64gv5h$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27041
Article PK: 154479


Mark Maslow wrote:

> My understanding is that intercomponent calls can only pass CORBA compliant
> parameters. That includes basic datatypes such as long, string, datetime,
> etc., as well as structures made up of such types. It does *not* include PB
> NVOs, which is why you can't have A pass D to B (I think I said that right
> :-)
>
> Mark Maslow
>
>

Well, ALMOST. In the original case since D was instantiated via a CREATE,
you're right it won't work. But if A instantiates a component D (via
createInstance), it can pass the remote reference into another component
method. D, of course, then has to be exposed as a Jaguar component versus just
as an NVO.

--
Jim O'Neil
Senior Technical Support Engineer
Sybase, Inc


Mark Maslow Posted on 2000-03-07 01:43:33.0Z
Newsgroups: sybase.public.easerver
From: "Mark Maslow" <mark.maslow@sierraclub.org>
Subject: Re: PB Intercomponent calls on EAServer
Date: Mon, 6 Mar 2000 17:43:33 -0800
Lines: 45
Organization: Sierra Club
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: machine001.sierraclub.org 207.90.163.1
Message-ID: <347_UWQatd9h$GA.111@forums.sybase.com>
References: <347_iQ1j7bqh$GA.202@forums.sybase.com> <347_DCxEyPzh$GA.201@forums.sybase.com> <347_hTzVHK4h$GA.74@forums.sybase.com> <347_FSWYtU4h$GA.74@forums.sybase.com> <347_Us7ygI5h$GA.201@forums.sybase.com> <347_7t64gv5h$GA.251@forums.sybase.com> <347_38C43855.9DA0F032@sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27018
Article PK: 157957

Could you elaborate a little on the mechanics of this? In the cases where
I've used createInstance, I've passed a reference to a local variable of
type myNVO to createInstance, and then called methods on myNVO. What,
exactly, would I pass if I wanted to pass this newly created instance to
another component? I didn't think it was possible to simply pass an NVO as
an argument in intercomponent calls. Perhaps a very simple example would be
helpful.

TIA

Mark Maslow

Jim O'Neil [Sybase] <joneil@sybase.com> wrote in message
news:38C43855.9DA0F032@sybase.com...
> Mark Maslow wrote:
>
> > My understanding is that intercomponent calls can only pass CORBA
compliant
> > parameters. That includes basic datatypes such as long, string,
datetime,
> > etc., as well as structures made up of such types. It does *not*
include PB
> > NVOs, which is why you can't have A pass D to B (I think I said that
right
> > :-)
> >
> > Mark Maslow
> >
> >
>
> Well, ALMOST. In the original case since D was instantiated via a CREATE,
> you're right it won't work. But if A instantiates a component D (via
> createInstance), it can pass the remote reference into another component
> method. D, of course, then has to be exposed as a Jaguar component versus
just
> as an NVO.
>
> --
> Jim O'Neil
> Senior Technical Support Engineer
> Sybase, Inc
>
>


Peter Reedijk Posted on 2000-03-07 10:42:01.0Z
Newsgroups: sybase.public.easerver
From: "Peter Reedijk" <peter.reedijk@pica.nl>
Organization: 192.87.44.61
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: Re: PB Intercomponent calls on EAServer
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Tue, 07 Mar 2000 05:42:01 -0500
Lines: 33
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_riukFHCi$GA.201@forums.sybase.com>
References: <347_iQ1j7bqh$GA.202@forums.sybase.com> <347_DCxEyPzh$GA.201@forums.sybase.com> <347_hTzVHK4h$GA.74@forums.sybase.com> <347_FSWYtU4h$GA.74@forums.sybase.com> <347_Us7ygI5h$GA.201@forums.sybase.com> <347_7t64gv5h$GA.251@forums.sybase.com> <347_38C43855.9DA0F032@sybase.com> <347_UWQatd9h$GA.111@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26995
Article PK: 157938

If we stay with the A,B,(C,)D example, suppose D has a property X that will be
set by A and read by B, using a setX() and getX() function. Then B needs a
function setD() to obtain a (remote) reference to D. We could have something
like this, then:

// in component A
transactionserver.CreateInstance(proxytoD, "D")
proxytoD.setX(4)
transactionserver.CreateInstance(proxytoB, "B")
proxytoB.setD(proxytoD)

// in component B, function setD:
x = proxytoD.getX()
// now x has the value 4

A kind of strange way to get information from A to B, but you wanted a simple
example :-)

Peter

On Mon, 6 Mar 2000 17:43:33 -0800,
in powersoft.public.easerver

Mark Maslow <mark.maslow@sierraclub.org> wrote:
>Could you elaborate a little on the mechanics of this? In the cases where
>I've used createInstance, I've passed a reference to a local variable of
>type myNVO to createInstance, and then called methods on myNVO. What,
>exactly, would I pass if I wanted to pass this newly created instance to
>another component? I didn't think it was possible to simply pass an NVO as
>an argument in intercomponent calls. Perhaps a very simple example would be
>helpful.

---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


JagUser Posted on 2000-03-06 23:45:54.0Z
Newsgroups: sybase.public.easerver
From: "JagUser" <jaguser@hotmail.com>
Subject: Re: PB Intercomponent calls on EAServer
Date: Mon, 6 Mar 2000 15:45:54 -0800
Lines: 50
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: vpn-eme-038.sybase.com 130.214.8.38
Message-ID: <347_UlfKlb8h$GA.201@forums.sybase.com>
References: <347_iQ1j7bqh$GA.202@forums.sybase.com> <347_DCxEyPzh$GA.201@forums.sybase.com> <347_hTzVHK4h$GA.74@forums.sybase.com> <347_FSWYtU4h$GA.74@forums.sybase.com> <347_Us7ygI5h$GA.201@forums.sybase.com> <347_7t64gv5h$GA.251@forums.sybase.com> <347_38C43855.9DA0F032@sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27034
Article PK: 157972

Jim,

So, let me get this straight.

If objects A, B and D are standard Jaguar components (PB nvos deployed to
EAServer) and A instantiates B and D using TransServer.createInstance(), A
can then invoke a method on B and pass it a reference to D. Is this correct?

So, if D is an nvo that I use as a message object (an nvo with a set of
instance variables), can A instantiate D (as described above), set its
instance variables, then instantiate B (as described above) and then pass
the message object (D) to a method in B?

Thanks.
JagUser.

"Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
news:38C43855.9DA0F032@sybase.com...
> Mark Maslow wrote:
>
> > My understanding is that intercomponent calls can only pass CORBA
compliant
> > parameters. That includes basic datatypes such as long, string,
datetime,
> > etc., as well as structures made up of such types. It does *not*
include PB
> > NVOs, which is why you can't have A pass D to B (I think I said that
right
> > :-)
> >
> > Mark Maslow
> >
> >
>
> Well, ALMOST. In the original case since D was instantiated via a CREATE,
> you're right it won't work. But if A instantiates a component D (via
> createInstance), it can pass the remote reference into another component
> method. D, of course, then has to be exposed as a Jaguar component versus
just
> as an NVO.
>
> --
> Jim O'Neil
> Senior Technical Support Engineer
> Sybase, Inc
>
>


Dave Wolf [Sybase] Posted on 2000-03-07 00:28:58.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: PB Intercomponent calls on EAServer
Date: Mon, 6 Mar 2000 19:28:58 -0500
Lines: 156
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: PPPa22-ResaleDialinx8008-4R1010.saturn.bbn.com 4.16.20.177
Message-ID: <347_piqLzy8h$GA.251@forums.sybase.com>
References: <347_iQ1j7bqh$GA.202@forums.sybase.com> <347_DCxEyPzh$GA.201@forums.sybase.com> <347_hTzVHK4h$GA.74@forums.sybase.com> <347_FSWYtU4h$GA.74@forums.sybase.com> <347_Us7ygI5h$GA.201@forums.sybase.com> <347_7t64gv5h$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27029
Article PK: 157968

If that PB OBject were a component, that object is indeed defined in IDL and
can be passed.

Dave Wolf
Internet Applications Division

"Mark Maslow" <mark.maslow@sierraclub.org> wrote in message
news:7t64gv5h$GA.251@forums.sybase.com...
> My understanding is that intercomponent calls can only pass CORBA
compliant
> parameters. That includes basic datatypes such as long, string, datetime,
> etc., as well as structures made up of such types. It does *not* include
PB
> NVOs, which is why you can't have A pass D to B (I think I said that right
> :-)
>
> Mark Maslow
>
> JagUser <jaguser@hotmail.com> wrote in message
> news:Us7ygI5h$GA.201@forums.sybase.com...
> > Peter,
> >
> > Pardon my for being a little dense, but, I don't really understand the
> > explanation for case1.
> >
> > Since A and B are both deployed as standard Jag components and A then
> > instantiates B using TransServer.CreateInstance(), can I not pass an
> object
> > (say, an nvo D which, A creates) while invoking a method on B from A?
> >
> > From the first sentence of your reply, I'd assume that the above is
> > possible. Your explanation for case2 makes perfect sense. Thanks.
> >
> > -JagUser.
> >
> > "Peter Reedijk" <peter.reedijk@pica.nl> wrote in message
> > news:FSWYtU4h$GA.74@forums.sybase.com...
> > > JagUser,
> > > You can only pass objects between components that are themselves
> deployed
> > as
> > > Jaguar components, so for your object C and D:
> > >
> > > case 1 (A to B): No, B is a different component and you cannot pass
the
> > nvo D
> > > case 2 (A to C): Yes, C is 'in the scope' of A and can be regarded as
a
> > 'plain'
> > > nvo, for which all the PowerBuilder rules apply, including nvo's such
as
> D
> > as a
> > > function argument
> > >
> > > HTH,
> > > Peter
> > >
> > > On Mon, 6 Mar 2000 07:36:30 -0800,
> > > in powersoft.public.easerver
> > > JagUser <jaguser@hotmail.com> wrote:
> > > >Thanks Scott.
> > > >
> > > >That answers a part of my question. Any thoughts on the object
passing
> > bit
> > > >(assuming I use proxies and CreateInstance in each of my scenarios)?
> > > >
> > > >-JagUser.
> > > >
> > > >"Scott McReynolds [Sybase]" <scottmc@sybase.com> wrote in message
> > > >news:DCxEyPzh$GA.201@forums.sybase.com...
> > > >> JagUser,
> > > >>
> > > >> You should not do intercomponent calls using the Create verb. You
> > should
> > > >> use the proxy object and create the objects using the
> createInstance()
> > > >> method. The object causes problems when jaguar is under load.
> > > >>
> > > >> Scott
> > > >>
> > > >> JagUser <jaguser@hotmail.com> wrote in message
> > > >> news:iQ1j7bqh$GA.202@forums.sybase.com...
> > > >> > Apologize if this message has been posted multiple times. I've
been
> > > >having
> > > >> > problems posting via Deja News.
> > > >>
> > >
> >
>
>> -------------------------------------------------------------------------
> > -
> > > >> --
> > > >> > --------------------
> > > >> >
> > > >> > I have a couple of conceptual questions.
> > > >> >
> > > >> > The scenario. I am deploying PB components on EAServer 3.5
> standard,
> > > >> > stateless components. Let's consider four objects. Object A is a
> > > >> > standard, stateless component, object B is also a standard,
> stateless
> > > >> > component, while object C is an included object - included by
> virtue
> > of
> > > >> > being a referenced object in the pbl - say, referenced by Object
A.
> > > >> > Object D is a message object - an nvo with a set of instance
> > variables,
> > > >> > which include datastores - and is also included as a referenced
> > object.
> > > >> >
> > > >> > 1. Object A instantiates Object D using the CREATE statement. If
> > Object
> > > >> > A then obtains a handle to Object B using
> > > >> > transactionserver.createinstance(), can object A invoke a method
in
> > > >> > object B and pass Object D as an argument (by value or
reference)?
> > > >> >
> > > >> > 2. Object A instantiates Object D using the CREATE statement.
> Object
> > A
> > > >> > also instantiates Object C using either CREATE or CREATE USING().
> Can
> > > >> > Object A invoke a method in Object C and pass Object D as an
> > argument?
> > > >> >
> > > >> > 3. Is it true that since all the objects (A-D) are deployed (A
and
> B
> > > >> > explicitly, C and D are referenced) onto the same Jaguar server
> > within
> > > >> > the same package, I wouldn't need to create proxies of B and C to
> > > >> > access them from A?
> > > >> >
> > > >> > All the above are PB components.
> > > >> > Thanks.
> > > >> >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >
> > > >
> > >
> > > ---== Posted via the PFCGuide Web Newsreader ==---
> > > http://www.pfcguide.com/_newsgroups/group_list.asp
> >
> >
>
>


JagUser Posted on 2000-03-07 00:29:57.0Z
Newsgroups: sybase.public.easerver
From: "JagUser" <jaguser@hotmail.com>
Subject: Re: PB Intercomponent calls on EAServer
Date: Mon, 6 Mar 2000 16:29:57 -0800
Lines: 179
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: vpn-eme-038.sybase.com 130.214.8.38
Message-ID: <347_MMycM08h$GA.201@forums.sybase.com>
References: <347_iQ1j7bqh$GA.202@forums.sybase.com> <347_DCxEyPzh$GA.201@forums.sybase.com> <347_hTzVHK4h$GA.74@forums.sybase.com> <347_FSWYtU4h$GA.74@forums.sybase.com> <347_Us7ygI5h$GA.201@forums.sybase.com> <347_7t64gv5h$GA.251@forums.sybase.com> <347_piqLzy8h$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27026
Article PK: 157966

Thanks Dave.

-JagUser.

"Dave Wolf [Sybase]" <dwolf@sybase.com> wrote in message
news:piqLzy8h$GA.251@forums.sybase.com...
> If that PB OBject were a component, that object is indeed defined in IDL
and
> can be passed.
>
> Dave Wolf
> Internet Applications Division
>
> "Mark Maslow" <mark.maslow@sierraclub.org> wrote in message
> news:7t64gv5h$GA.251@forums.sybase.com...
> > My understanding is that intercomponent calls can only pass CORBA
> compliant
> > parameters. That includes basic datatypes such as long, string,
datetime,
> > etc., as well as structures made up of such types. It does *not*
include
> PB
> > NVOs, which is why you can't have A pass D to B (I think I said that
right
> > :-)
> >
> > Mark Maslow
> >
> > JagUser <jaguser@hotmail.com> wrote in message
> > news:Us7ygI5h$GA.201@forums.sybase.com...
> > > Peter,
> > >
> > > Pardon my for being a little dense, but, I don't really understand the
> > > explanation for case1.
> > >
> > > Since A and B are both deployed as standard Jag components and A then
> > > instantiates B using TransServer.CreateInstance(), can I not pass an
> > object
> > > (say, an nvo D which, A creates) while invoking a method on B from A?
> > >
> > > From the first sentence of your reply, I'd assume that the above is
> > > possible. Your explanation for case2 makes perfect sense. Thanks.
> > >
> > > -JagUser.
> > >
> > > "Peter Reedijk" <peter.reedijk@pica.nl> wrote in message
> > > news:FSWYtU4h$GA.74@forums.sybase.com...
> > > > JagUser,
> > > > You can only pass objects between components that are themselves
> > deployed
> > > as
> > > > Jaguar components, so for your object C and D:
> > > >
> > > > case 1 (A to B): No, B is a different component and you cannot pass
> the
> > > nvo D
> > > > case 2 (A to C): Yes, C is 'in the scope' of A and can be regarded
as
> a
> > > 'plain'
> > > > nvo, for which all the PowerBuilder rules apply, including nvo's
such
> as
> > D
> > > as a
> > > > function argument
> > > >
> > > > HTH,
> > > > Peter
> > > >
> > > > On Mon, 6 Mar 2000 07:36:30 -0800,
> > > > in powersoft.public.easerver
> > > > JagUser <jaguser@hotmail.com> wrote:
> > > > >Thanks Scott.
> > > > >
> > > > >That answers a part of my question. Any thoughts on the object
> passing
> > > bit
> > > > >(assuming I use proxies and CreateInstance in each of my
scenarios)?
> > > > >
> > > > >-JagUser.
> > > > >
> > > > >"Scott McReynolds [Sybase]" <scottmc@sybase.com> wrote in message
> > > > >news:DCxEyPzh$GA.201@forums.sybase.com...
> > > > >> JagUser,
> > > > >>
> > > > >> You should not do intercomponent calls using the Create verb.
You
> > > should
> > > > >> use the proxy object and create the objects using the
> > createInstance()
> > > > >> method. The object causes problems when jaguar is under load.
> > > > >>
> > > > >> Scott
> > > > >>
> > > > >> JagUser <jaguser@hotmail.com> wrote in message
> > > > >> news:iQ1j7bqh$GA.202@forums.sybase.com...
> > > > >> > Apologize if this message has been posted multiple times. I've
> been
> > > > >having
> > > > >> > problems posting via Deja News.
> > > > >>
> > > >
> > >
> >
>
>> -------------------------------------------------------------------------
> > > -
> > > > >> --
> > > > >> > --------------------
> > > > >> >
> > > > >> > I have a couple of conceptual questions.
> > > > >> >
> > > > >> > The scenario. I am deploying PB components on EAServer 3.5
> > standard,
> > > > >> > stateless components. Let's consider four objects. Object A is
a
> > > > >> > standard, stateless component, object B is also a standard,
> > stateless
> > > > >> > component, while object C is an included object - included by
> > virtue
> > > of
> > > > >> > being a referenced object in the pbl - say, referenced by
Object
> A.
> > > > >> > Object D is a message object - an nvo with a set of instance
> > > variables,
> > > > >> > which include datastores - and is also included as a referenced
> > > object.
> > > > >> >
> > > > >> > 1. Object A instantiates Object D using the CREATE statement.
If
> > > Object
> > > > >> > A then obtains a handle to Object B using
> > > > >> > transactionserver.createinstance(), can object A invoke a
method
> in
> > > > >> > object B and pass Object D as an argument (by value or
> reference)?
> > > > >> >
> > > > >> > 2. Object A instantiates Object D using the CREATE statement.
> > Object
> > > A
> > > > >> > also instantiates Object C using either CREATE or CREATE
USING().
> > Can
> > > > >> > Object A invoke a method in Object C and pass Object D as an
> > > argument?
> > > > >> >
> > > > >> > 3. Is it true that since all the objects (A-D) are deployed (A
> and
> > B
> > > > >> > explicitly, C and D are referenced) onto the same Jaguar server
> > > within
> > > > >> > the same package, I wouldn't need to create proxies of B and C
to
> > > > >> > access them from A?
> > > > >> >
> > > > >> > All the above are PB components.
> > > > >> > Thanks.
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > >
> > > > ---== Posted via the PFCGuide Web Newsreader ==---
> > > > http://www.pfcguide.com/_newsgroups/group_list.asp
> > >
> > >
> >
> >
>
>


Peter Posted on 2000-03-06 18:29:29.0Z
Newsgroups: sybase.public.easerver
From: "Peter" <peter.reedijk@pica.nl>
Organization: 194.109.130.184
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: Re: PB Intercomponent calls on EAServer
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Mon, 06 Mar 2000 13:29:29 -0500
Lines: 108
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_ammlon5h$GA.74@forums.sybase.com>
References: <347_iQ1j7bqh$GA.202@forums.sybase.com> <347_DCxEyPzh$GA.201@forums.sybase.com> <347_hTzVHK4h$GA.74@forums.sybase.com> <347_FSWYtU4h$GA.74@forums.sybase.com> <347_Us7ygI5h$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27076
Article PK: 158009

In order to pass an object reference to D from A to B you would have to declare
a method on B like:

public integer f_set_D (D aD)

This would make D part of the interface of B and Jaguar doesn't allow this for
'plain' PowerBuilder nvo's.

Peter

On Mon, 6 Mar 2000 09:28:10 -0800,
in powersoft.public.easerver

JagUser <jaguser@hotmail.com> wrote:
>Peter,
>
>Pardon my for being a little dense, but, I don't really understand the
>explanation for case1.
>
>Since A and B are both deployed as standard Jag components and A then
>instantiates B using TransServer.CreateInstance(), can I not pass an object
>(say, an nvo D which, A creates) while invoking a method on B from A?
>
>From the first sentence of your reply, I'd assume that the above is
>possible. Your explanation for case2 makes perfect sense. Thanks.
>
>-JagUser.
>
>"Peter Reedijk" <peter.reedijk@pica.nl> wrote in message
>news:FSWYtU4h$GA.74@forums.sybase.com...
>> JagUser,
>> You can only pass objects between components that are themselves deployed
>as
>> Jaguar components, so for your object C and D:
>>
>> case 1 (A to B): No, B is a different component and you cannot pass the
>nvo D
>> case 2 (A to C): Yes, C is 'in the scope' of A and can be regarded as a
>'plain'
>> nvo, for which all the PowerBuilder rules apply, including nvo's such as D
>as a
>> function argument
>>
>> HTH,
>> Peter
>>
>> On Mon, 6 Mar 2000 07:36:30 -0800,
>> in powersoft.public.easerver
>> JagUser <jaguser@hotmail.com> wrote:
>> >Thanks Scott.
>> >
>> >That answers a part of my question. Any thoughts on the object passing
>bit
>> >(assuming I use proxies and CreateInstance in each of my scenarios)?
>> >
>> >-JagUser.
>> >
>> >"Scott McReynolds [Sybase]" <scottmc@sybase.com> wrote in message
>> >news:DCxEyPzh$GA.201@forums.sybase.com...
>> >> JagUser,
>> >>
>> >> You should not do intercomponent calls using the Create verb. You
>should
>> >> use the proxy object and create the objects using the createInstance()
>> >> method. The object causes problems when jaguar is under load.
>> >>
>> >> Scott
>> >>
>> >> JagUser <jaguser@hotmail.com> wrote in message
>> >> news:iQ1j7bqh$GA.202@forums.sybase.com...
>> >> > Apologize if this message has been posted multiple times. I've been
>> >having
>> >> > problems posting via Deja News.
>> >>
>>
>>> -------------------------------------------------------------------------
>-
>> >> --
>> >> > --------------------
>> >> >
>> >> > I have a couple of conceptual questions.
>> >> >
>> >> > The scenario. I am deploying PB components on EAServer 3.5 standard,
>> >> > stateless components. Let's consider four objects. Object A is a
>> >> > standard, stateless component, object B is also a standard, stateless
>> >> > component, while object C is an included object - included by virtue
>of
>> >> > being a referenced object in the pbl - say, referenced by Object A.
>> >> > Object D is a message object - an nvo with a set of instance
>variables,
>> >> > which include datastores - and is also included as a referenced
>object.
>> >> >
>> >> > 1. Object A instantiates Object D using the CREATE statement. If
>Object
>> >> > A then obtains a handle to Object B using
>> >> > transactionserver.createinstance(), can object A invoke a method in
>> >> > object B and pass Object D as an argument (by value or reference)?
>> >> >
>> >> > 2. Object A instantiates Object D using the CREATE statement. Object
>A
>> >> > also instantiates Object C using either CREATE or CREATE USING(). Can
>> >> > Object A invoke a method in Object C and pass Object D as an
>argument?
>> >> >
>> >> > 3. Is it true that since all the objects (A-D) are deployed (A and B
>> >> > explicitly, C and D are referenced) onto the same Jaguar server
>within
>> >> > the same package, I wouldn't need to create proxies of B and C to
>> >> > access them from A?
>> >> >
>> >> > All the above are PB components.
>> >> > Thanks.
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>> ---== Posted via the PFCGuide Web Newsreader ==---
>> http://www.pfcguide.com/_newsgroups/group_list.asp
>
>

---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp