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.

ejbLoad method

3 posts in General Discussion (old) Last posting was on 2000-02-11 03:44:09.0Z
Basant Gupta Posted on 2000-02-11 01:10:20.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 10 Feb 2000 17:10:20 -0800
From: Basant Gupta <basantg@yahoo.com>
Organization: Sybase, Inc.
X-Mailer: Mozilla 4.71 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: ejbLoad method
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 9
NNTP-Posting-Host: bgupta-pc.sybase.com 157.133.54.97
Message-ID: <347_38A3617C.111AE012@yahoo.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28928
Article PK: 154735

Hi,
I just coded the ejbLoad method of a component and deployed it to
Jaguar.

How do I call this method from the client as this method is not in
the proxy object definition. The documentation says that this method is
invoked by the container. How do I get the container to invoke this
method ?

Basant


Dave Wolf [Sybase] Posted on 2000-02-11 03:10:31.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: ejbLoad method
Date: Thu, 10 Feb 2000 22:10:31 -0500
Lines: 24
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: PPPa16-ResaleDialinx8002-4R7202.saturn.bbn.com 4.54.149.109
Message-ID: <347_#YBFJ4Dd$GA.306@forums.sybase.com>
References: <347_38A3617C.111AE012@yahoo.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28923
Article PK: 154734

I strongly reccomend getting a good book on EJB's. The ejbLoad() method is
called automatically by the container at every method call, or, as needed.
If you add another business method to the remote interface, and to the bean
itself, and were to call that method, the container would likely then call
the ejbLoad() method.

Dave Wolf
Internet Applications Division

Basant Gupta <basantg@yahoo.com> wrote in message
news:38A3617C.111AE012@yahoo.com...
> Hi,
> I just coded the ejbLoad method of a component and deployed it to
> Jaguar.
>
> How do I call this method from the client as this method is not in
> the proxy object definition. The documentation says that this method is
> invoked by the container. How do I get the container to invoke this
> method ?
>
> Basant
>


Evan Ireland Posted on 2000-02-11 03:44:09.0Z
Newsgroups: sybase.public.easerver
Date: Fri, 11 Feb 2000 16:44:09 +1300
From: Evan Ireland <eireland@sybase.com>
Organization: Sybase, Inc.
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: ejbLoad method
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 31
NNTP-Posting-Host: 130.214.8.32
Message-ID: <347_38A38589.682EE933@sybase.com>
References: <347_38A3617C.111AE012@yahoo.com> <347_#YBFJ4Dd$GA.306@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28921
Article PK: 161290


"Dave Wolf [Sybase]" wrote:
>
> I strongly reccomend getting a good book on EJB's. The ejbLoad() method is
> called automatically by the container at every method call, or, as needed.
> If you add another business method to the remote interface, and to the bean
> itself, and were to call that method, the container would likely then call
> the ejbLoad() method.

Just to clarify, the ejbLoad method is called once per transaction per entity.

> Dave Wolf
> Internet Applications Division
>
> Basant Gupta <basantg@yahoo.com> wrote in message
> news:38A3617C.111AE012@yahoo.com...
> > Hi,
> > I just coded the ejbLoad method of a component and deployed it to
> > Jaguar.
> >
> > How do I call this method from the client as this method is not in
> > the proxy object definition. The documentation says that this method is
> > invoked by the container. How do I get the container to invoke this
> > method ?
> >
> > Basant
> >

--
________________________________________________________________________________

Evan Ireland Sybase EA Server Engineering eireland@sybase.com
Wellington - New Zealand +64 4 934-5856