• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

HFE Pg 576 Assembly Descriptor function

 
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Are you okay? You look a little big. Maybe this tiny ad will help:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic