• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic