• 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

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
 
The two armies met. But instead of battle, they decided to eat some pie and contemplate this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic