To: Orion-Interest
Subject: Re: Transaction question ?
Eddie wrote:
Hellu,
Please some help on the following transaction scenario ?:
I am receing some information through a HTTP post method.
The servlet,
running as part of a J2EE application, calls a EJB method
A. The EJB
Eddie wrote:
Hellu,
Please some help on the following transaction scenario ?:
I am receing some information through a HTTP post method. The servlet,
running as part of a J2EE application, calls a EJB method A. The EJB method
does some little processing. After this, it checks some
, August 06, 2001 1:48 AM
To: Orion-Interest
Subject: Re: Transaction question
I already replyed to this message but noticed that it never came
through...
so here it is again...
Thanks for the earlier reply.
My reaction:
I understand what you do below, but how must I define all
Message -
From: Simon Evans [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 7:49 PM
Subject: RE: Transaction question
i think you need transaction attribute 'RequiresNew' in B, and 'Requires'
on
A.
then A has to catch B's remote exception.
ejb-jar.xml
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie Post
Sent: Monday, August 06, 2001 4:48 AM
To: Orion-Interest
Subject: Re: Transaction question
I already replyed to this message but noticed that it never came through...
so here it is again...
Thanks
-Interest
Subject: Re: Transaction question
I already replyed to this message but noticed that it never came through...
so here it is again...
Thanks for the earlier reply.
My reaction:
I understand what you do below, but how must I define all this, such that
- All me methods still have the trans
4:57 PM
Subject: RE: Transaction question
Set up a default transaction-attribute for your bean.
This is from the EJB 2.0 draft.
Page 353
Section 17.4.1
Use a * for the method-name.
method
ejb-nameEJBNAME/ejb-name
method-name*/method-name
/method
- Seth
[EMAIL PROTECTED
Hellu hellu,
Please some advise on the question I posted some days ago (see below)?
Eddie
- Original Message -
From: Eddie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, July 24, 2001 10:47 AM
Subject: Transaction question
Hellu,
I don't know how to
Bottom line... you can't do that. J2EE doesn't support nested transactions.
However, this may work in orion. for info on the descriptors, check out
Sun's EJB spec and orion documentation and DTD's. This is a rough draft of
how it would have to look like:
container-transaction
To: Orion-Interest
Subject: Re: Transaction question
Hellu hellu,
Please some advise on the question I posted some days ago (see below)?
Eddie
- Original Message -
From: Eddie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, July 24, 2001 10:47 AM
Subject: Transaction
sorry , thats what i meant...cut and paste mistake
-Original Message-
From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 9:55 AM
To: Orion-Interest
Subject: RE: Transaction question
Bottom line... you can't do that. J2EE doesn't support nested
11 matches
Mail list logo