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.

how to automaticly start component ....

3 posts in General Discussion (old) Last posting was on 2000-03-21 14:45:41.0Z
Vaclav Kulakovsky Posted on 2000-03-21 12:29:48.0Z
Newsgroups: sybase.public.easerver
Date: Tue, 21 Mar 2000 13:29:48 +0100
From: Vaclav Kulakovsky <vaclav.kulakovsky@definity.cz>
X-Mailer: Mozilla 4.72 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: how to automaticly start component ....
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 7bit
Lines: 10
NNTP-Posting-Host: hulmak.abnet.cz 194.212.178.181
Message-ID: <347_38D76B3C.ACB3319E@definity.cz>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26034
Article PK: 156041

hi,

i've service component written in C++ and i neet to create it's instance
and invoke one of it's method when jaguar server starts

have you any solution how to do it ?

thank's


--
Vaclav Kulakovsky
DEFINITY Systems, s.r.o.
Tyrsova 2071
25601 Benesov
Tel: +420 301 727975,24456
Fax: +420 301 24456
vaclav.kulakovsky@definity.cz
http://www.definity.cz


Peter Reedijk Posted on 2000-03-21 13:26:04.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: how to automaticly start component ....
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Tue, 21 Mar 2000 08:26:04 -0500
Lines: 21
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_gWoACkzk$GA.201@forums.sybase.com>
References: <347_38D76B3C.ACB3319E@definity.cz>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26030
Article PK: 154379

Vaclav,

1) call your method from the start() or run() function of your service
component.
2) add your component to the services property of the Jaguar server


On Tue, 21 Mar 2000 13:29:48 +0100,
in powersoft.public.easerver

Vaclav Kulakovsky <vaclav.kulakovsky@definity.cz> wrote:
>hi,
>
>i've service component written in C++ and i neet to create it's instance
>and invoke one of it's method when jaguar server starts
>
>have you any solution how to do it ?
>
>thank's
>
>
>--
>Vaclav Kulakovsky
>DEFINITY Systems, s.r.o.
>Tyrsova 2071
>25601 Benesov
>Tel: +420 301 727975,24456
>Fax: +420 301 24456
>vaclav.kulakovsky@definity.cz
>http://www.definity.cz

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


Scott McReynolds [Sybase] Posted on 2000-03-21 14:45:41.0Z
Newsgroups: sybase.public.easerver
From: "Scott McReynolds [Sybase]" <scottmc@sybase.com>
Subject: Re: how to automaticly start component ....
Date: Tue, 21 Mar 2000 07:45:41 -0700
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: 158.159.8.50
Message-ID: <347_3IBHUT0k$GA.34@forums.sybase.com>
References: <347_38D76B3C.ACB3319E@definity.cz>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26023
Article PK: 156037

Vaclav,

If you look at the documentation you will see exactly how to create it. By
definition a service component is started for you and the start(), run() and
stop() methods are automatically called. What you do is add methods that
have the additional logic you want performed.

This is outlined pretty well in the programers guide (chapter 20).

Scott

"Vaclav Kulakovsky" <vaclav.kulakovsky@definity.cz> wrote in message
news:38D76B3C.ACB3319E@definity.cz...
> hi,
>
> i've service component written in C++ and i neet to create it's instance
> and invoke one of it's method when jaguar server starts
>
> have you any solution how to do it ?
>
> thank's
>
>
> --
> Vaclav Kulakovsky
> DEFINITY Systems, s.r.o.
> Tyrsova 2071
> 25601 Benesov
> Tel: +420 301 727975,24456
> Fax: +420 301 24456
> vaclav.kulakovsky@definity.cz
> http://www.definity.cz