• 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
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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.
 
A day job? In an office? My worst nightmare! Comfort me tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic