Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question regarding sections of DD

 
Gemini Moses
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I understand DD has got two main sections
1. <enterprise-beans>
2. <assembly-descriptor>

(this is confirmed on page 576 of HFEJB)

On page 395,

<relationships> tag is shown just after </enterprise-beans> ending tag.

So does this mean there are actually 3 sections,
1. <enterprise-beans>
2. <relationships>
3. <assembly-descriptor>

Please help
Thanks,
Gemini
 
Stefan Guilhen
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gemini,

Section 22.5 of the specification shows the DTD for the deployment descriptor. There you can see:

<!ELEMENT ejb-jar (description?, display-name?, small-icon?,
large-icon?, enterprise-beans, relationships?,
assembly-descriptor?, ejb-client-jar?)>

This shows that the DD has several sections - description, display-name, etc - but only one is required: the enterprise-beans section. If your enterprise beans define relationships they should be described in the relationships section and this section must follow the enterprise-beans section.

Regards,
Stefan
 
Gemini Moses
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!

Gemini
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic