• 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
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

Question regarding sections of DD

 
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks!

Gemini
 
Because those who mind don't matter and those who matter don't mind - Seuss. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic