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.

With Ejb 1.0

5 posts in General Discussion (old) Last posting was on 2000-03-01 09:34:34.0Z
Eric Fassel Posted on 2000-02-28 14:22:45.0Z
Newsgroups: sybase.public.easerver
From: "Eric Fassel" <fassel@derbi.fr>
Subject: With Ejb 1.0
Date: Mon, 28 Feb 2000 15:22:45 +0100
Lines: 9
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: i07-112.paris.worldnet.fr 195.3.7.112
Message-ID: <347_TKSJygfg$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:27668
Article PK: 159034

In previous version EJB, we complete the EJB session with completWork()
function and now wath's the method ?
And this whithout transaction !

Any Ideas ?

Eric FASSEL


Dave Wolf [Sybase] Posted on 2000-02-28 18:43:05.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: With Ejb 1.0
Date: Mon, 28 Feb 2000 13:43:05 -0500
Lines: 23
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: dwolf-nt.sybase.com 157.133.43.179
Message-ID: <347_Rpbjxwhg$GA.202@forums.sybase.com>
References: <347_TKSJygfg$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:27638
Article PK: 159007

Do nothing. In a stateless SessionBean its lifecycle will end at the end of
the method. In a stateful SessionBean its session ends when the client
calls remove().

I suggest reviewing the EJB1 spec. There are significant differences
between EJB 0.4 and EJB1.0

Dave Wolf
Internet Applications Division

"Eric Fassel" <fassel@derbi.fr> wrote in message
news:TKSJygfg$GA.201@forums.sybase.com...
> In previous version EJB, we complete the EJB session with completWork()
> function and now wath's the method ?
> And this whithout transaction !
>
> Any Ideas ?
>
> Eric FASSEL
>
>


Eric Fassel Posted on 2000-02-29 09:57:38.0Z
Newsgroups: sybase.public.easerver
From: "Eric Fassel" <fassel@derbi.fr>
Subject: Re: With Ejb 1.0
Date: Tue, 29 Feb 2000 10:57:38 +0100
Lines: 58
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: i07-180.paris.worldnet.fr 195.3.7.180
Message-ID: <347_ublSUxpg$GA.295@forums.sybase.com>
References: <347_TKSJygfg$GA.201@forums.sybase.com> <347_Rpbjxwhg$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:27547
Article PK: 158929

My Jaguar's client is Dynamo and the Ejb componant must be stateFull !
For example, the EJb have 2 public functions func1 and func2 and after funct
1 the Ejb must be deactivate and after funct2 the
Ejb must be deactivate the secont time. It's the reason, the componnent must
be StadeFull !

In dynamo User guide and refference manual the typical code is :
carthomeObj = java.GetHomeInterface("CartPackage/Cart")
cartObj = carthomeObj.create("John", "7506");
cartObj.addItem(66)
cartObj.addItem(22)
cartObj.purchase()
carthomeObj.remove(...)

But the remove() function is not explain ??? wath the argument ??

In java code we can use this code (in this example the EJb is Satde Full):

ejbmsgv11_remote_1 = ejbmsgv11home_1.create();
ret = ejbmsgv11_remote_1.rechercher(sessionId,utiCode,typeRecherche);
ejbmsgv11home_1.remove(ejbmsgv11_remote_1.getHandle());

How can i do with Dynamo ?

Thank you for your interest .

Eric FASSEL




Dave Wolf [Sybase] a écrit dans le message ...

>Do nothing. In a stateless SessionBean its lifecycle will end at the end
of
>the method. In a stateful SessionBean its session ends when the client
>calls remove().
>
>I suggest reviewing the EJB1 spec. There are significant differences
>between EJB 0.4 and EJB1.0
>
>Dave Wolf
>Internet Applications Division
>
>"Eric Fassel" <fassel@derbi.fr> wrote in message
>news:TKSJygfg$GA.201@forums.sybase.com...
>> In previous version EJB, we complete the EJB session with completWork()
>> function and now wath's the method ?
>> And this whithout transaction !
>>
>> Any Ideas ?
>>
>> Eric FASSEL
>>
>>
>
>


Dave Wolf [Sybase] Posted on 2000-02-29 13:06:24.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: With Ejb 1.0
Date: Tue, 29 Feb 2000 08:06:24 -0500
Lines: 69
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.17
Message-ID: <347_KaLIRZrg$GA.295@forums.sybase.com>
References: <347_TKSJygfg$GA.201@forums.sybase.com> <347_Rpbjxwhg$GA.202@forums.sybase.com> <347_ublSUxpg$GA.295@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27535
Article PK: 154553

Generally remove() takes no arguments.

Dave Wolf
Internet Applications Division

"Eric Fassel" <fassel@derbi.fr> wrote in message
news:ublSUxpg$GA.295@forums.sybase.com...
> My Jaguar's client is Dynamo and the Ejb componant must be stateFull !
> For example, the EJb have 2 public functions func1 and func2 and after
funct
> 1 the Ejb must be deactivate and after funct2 the
> Ejb must be deactivate the secont time. It's the reason, the componnent
must
> be StadeFull !
>
> In dynamo User guide and refference manual the typical code is :
> carthomeObj = java.GetHomeInterface("CartPackage/Cart")
> cartObj = carthomeObj.create("John", "7506");
> cartObj.addItem(66)
> cartObj.addItem(22)
> cartObj.purchase()
> carthomeObj.remove(...)
>
> But the remove() function is not explain ??? wath the argument ??
>
> In java code we can use this code (in this example the EJb is Satde Full):
>
> ejbmsgv11_remote_1 = ejbmsgv11home_1.create();
> ret = ejbmsgv11_remote_1.rechercher(sessionId,utiCode,typeRecherche);
> ejbmsgv11home_1.remove(ejbmsgv11_remote_1.getHandle());
>
> How can i do with Dynamo ?
>
> Thank you for your interest .
>
> Eric FASSEL
>
>
>
>
> Dave Wolf [Sybase] a écrit dans le message ...
> >Do nothing. In a stateless SessionBean its lifecycle will end at the end
> of
> >the method. In a stateful SessionBean its session ends when the client
> >calls remove().
> >
> >I suggest reviewing the EJB1 spec. There are significant differences
> >between EJB 0.4 and EJB1.0
> >
> >Dave Wolf
> >Internet Applications Division
> >
> >"Eric Fassel" <fassel@derbi.fr> wrote in message
> >news:TKSJygfg$GA.201@forums.sybase.com...
> >> In previous version EJB, we complete the EJB session with completWork()
> >> function and now wath's the method ?
> >> And this whithout transaction !
> >>
> >> Any Ideas ?
> >>
> >> Eric FASSEL
> >>
> >>
> >
> >
>
>


Eric Fassel Posted on 2000-03-01 09:34:34.0Z
Newsgroups: sybase.public.easerver
From: "Eric Fassel" <fassel@derbi.fr>
Subject: Re: With Ejb 1.0
Date: Wed, 1 Mar 2000 10:34:34 +0100
Lines: 99
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: i07-016.paris.worldnet.fr 195.3.7.16
Message-ID: <347_66onHJ2g$GA.251@forums.sybase.com>
References: <347_TKSJygfg$GA.201@forums.sybase.com> <347_Rpbjxwhg$GA.202@forums.sybase.com> <347_ublSUxpg$GA.295@forums.sybase.com> <347_KaLIRZrg$GA.295@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27440
Article PK: 158838

???
in my opinion remove take argument when i call the method directly i have
the Dyanmo message :
Invalid object for method remove near line 40 in
"/msg/msgliste.stm"


And it's normal , we indicate the instance we will remove , for example
carthomeObj = java.GetHomeInterface("CartPackage/Cart")

>> cartObj1 = carthomeObj.create("John", "7506");
>> cartObj1 = carthomeObj.create("Jane", "7506");
>> cartObj1.addItem(66)
>> cartObj2.addItem(22)
>> cartObj1.purchase()
>> cartObj2.purchase()
>> carthomeObj.remove(..????.)
>>

Thank you for your Interrest !

ERIC FASSEL
DERBI


Dave Wolf [Sybase] a écrit dans le message ...
>Generally remove() takes no arguments.
>
>Dave Wolf
>Internet Applications Division
>
>"Eric Fassel" <fassel@derbi.fr> wrote in message
>news:ublSUxpg$GA.295@forums.sybase.com...
>> My Jaguar's client is Dynamo and the Ejb componant must be stateFull !
>> For example, the EJb have 2 public functions func1 and func2 and after
>funct
>> 1 the Ejb must be deactivate and after funct2 the
>> Ejb must be deactivate the secont time. It's the reason, the componnent
>must
>> be StadeFull !
>>
>> In dynamo User guide and refference manual the typical code is :
>> carthomeObj = java.GetHomeInterface("CartPackage/Cart")
>> cartObj = carthomeObj.create("John", "7506");
>> cartObj.addItem(66)
>> cartObj.addItem(22)
>> cartObj.purchase()
>> carthomeObj.remove(...)
>>
>> But the remove() function is not explain ??? wath the argument ??
>>
>> In java code we can use this code (in this example the EJb is Satde
Full):
>>
>> ejbmsgv11_remote_1 = ejbmsgv11home_1.create();
>> ret = ejbmsgv11_remote_1.rechercher(sessionId,utiCode,typeRecherche);
>> ejbmsgv11home_1.remove(ejbmsgv11_remote_1.getHandle());
>>
>> How can i do with Dynamo ?
>>
>> Thank you for your interest .
>>
>> Eric FASSEL
>>
>>
>>
>>
>> Dave Wolf [Sybase] a écrit dans le message ...
>> >Do nothing. In a stateless SessionBean its lifecycle will end at the
end
>> of
>> >the method. In a stateful SessionBean its session ends when the client
>> >calls remove().
>> >
>> >I suggest reviewing the EJB1 spec. There are significant differences
>> >between EJB 0.4 and EJB1.0
>> >
>> >Dave Wolf
>> >Internet Applications Division
>> >
>> >"Eric Fassel" <fassel@derbi.fr> wrote in message
>> >news:TKSJygfg$GA.201@forums.sybase.com...
>> >> In previous version EJB, we complete the EJB session with
completWork()
>> >> function and now wath's the method ?
>> >> And this whithout transaction !
>> >>
>> >> Any Ideas ?
>> >>
>> >> Eric FASSEL
>> >>
>> >>
>> >
>> >
>>
>>
>
>