Hi,

I am using WebLogic Server 6.1. And I can specify the transaction-type as
'Container' and even though I do not specify  any values
<container-transaction> block I am able to deploy the EJB and also run it
successfully.

It seems that WebLogic is defaulting values in <container-transaction>
block. I justed wanted to know if anybody in the list knows the default
values for WLS.

Regards,
Milind




                    Dies Koper
                    <[EMAIL PROTECTED]        To:     Milind Kulkarni 
<[EMAIL PROTECTED]>
                    itsu.com>            cc:     [EMAIL PROTECTED]
                                         Subject:     Re: ejb-jar.xml query
                    09/17/2002
                    01:22 PM






Hello Milind,

> I have specified the transaction-type in ejb-jar.xml  file as follows:
>
> <transaction-type>Container</transaction-type>
>
> What is the default value of transaction attribute (trans-attribute) when
I
> do not specify any value in the <container-transaction> block.

The EJB 2.0 spec says you have to specify the trans-attribute in a
container-transaction block. Leaving it out should lead to a parsing
error at deploy-time.

Page 464:
<!ELEMENT container-transaction (description?, method+,trans-attribute)>
? : optional
+ : one or more
no sign : one

Regards,
Dies Koper

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to