Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFE Pg 576 Assembly Descriptor function

 
Sudhir V
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Kathy Sierra
Cowgirl and Author
Rancher
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sudhir V
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic