HFE Pg 576 bullet point 2 where it describes the use of the <assembly-descriptor> tag says "including the ways in which beans refer to one another". Which tag inside the <assembly-descriptor> is the author referring to? Does the author mean <transaction-attribute> tag or am I missing something? [ February 01, 2004: Message edited by: Sudhir ]
Howdy -- yep... the DD can be broken into three main parts (I normally describe it as TWO, but if the bean has CMR relationships, then you get three) as follows: <ejb-jar>
<enterprise-beans> * this is where all the bean information goes... things the Bean Provider is responsible for </enterprise-beans> <relationships> * this is where you describe the CMR relationships between beans </relationships> <assembly-descriptor> * this is where you describe app assembly things for method permissions, security roles, and transaction attributes. </assembly-descriptor> </ejb-jar> I don't really know what I meant in that paragraph, but you've got it right -- the actual <assembly-descriptor> element is for transaction attributes, method permissions, and security roles. cheers, Kathy
Thanks Kathy!!! That line was confusing for me coz after reading that I thought "Oh the CMR relationships come under the assembly descriptor tag" but then I referred to the spec and the CMR were outside the assembly descriptor. So that prompted me to ask the question.
Sudhir V<br />(SCJP 1.2, SCWCD, OCA, SCBCD)
I am Arthur, King of the Britons. And this is a tiny ad:
a bit of art, as a gift, that will fit in a stocking