FOR EJB 1.1 (by default in Weblogic6.1) File: ejb11-jar.dtd <!ELEMENT assembly-descriptor (security-role*, method-permission*, container-transaction*)>
<!ELEMENT container-transaction (description?, method+, trans-attribute)> <!ELEMENT session (description?, display-name?, small-icon?, large-icon?, ejb-name, home, remote, ejb-class, session-type, transaction-type, env-entry*, ejb-ref*, security-role-ref*, resource-ref*)> <!ELEMENT transaction-type (#PCDATA)> <!ELEMENT trans-attribute (#PCDATA)> ? : optional + : one or more * : zero or more no sign : one this means that you must specify <tans-attribute></tans-attribute> if you have specified the <container-transaction></container-transaction> block. But it is not mandatory to actually specify this block, i.e it could have a zero value. again specifing <transaction-type></transaction-type> is required if you are writing the descriptor for a session bean.If it is a entity bean it is not at all required. And the <tans-attribute></tans-attribute> is (#PCDATA) without any default value. check this for EJB 2.0 (file: ejb20-jar.dtd) in weblogic6.1 *********************** enJoy Life with Technology *********************** pirbhu ;-) "Convince, Confuse, Corrupt" Prabhakar Goel JIL Information Technology Ltd. 64/4, SITE-IV Sahibabad Industrial Area Ghaziabad, UP-201010. ph: 91 (120) 4777881 ext # 2392,2387. =========================================================================== 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".
