• 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
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Question regarding sections of DD

 
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
 
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
 
Any sufficiently advanced technology will be used as a cat toy. And this tiny ad contains a very small cat:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic