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

Frustrated with ejb-jar.xml

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Quite frustrated with the ejb-jar.xml...Coudn't sun follow a naming convention..
For ex..
<resource-ref>
<res-ref-name>something</res-ref-name>
<res-type>something</res-type>
<res-auth>Container<res-auth>
</resource-ref>
I thought res-ref-name is named that way instead of <resource-ref-name> because it was too long but hang on there's
<resource-env-ref>
<resource-env-ref-name>something</resource-env-ref-name>
<resource-env--type>something</resource-env--type>
</resource-env-ref>
In most places I try to remember the starting tag and just append name and type at the end, worked fine for env-entry, ejb-ref, ejb-local-ref. But suddenly they change it in resource-ref, security-role-ref etc..
It's irritating in so many other places (<prim-key-class> ..
I mean at the end of the day you are reading these things not just to pass an exam but also to be good and thorough EJB developer that you want as long as your are in the profession. What's the point having twists here and there (Yeah...don't tell me it's to improve your memory)
 
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Karthik,
I also agree with you. SUN is known for its misleading naming conventions...

Right from Java Web Server to EJBs....it is all confusing...
For example:
ejbCreate() of an entity bean is not the same as ejbCreate() of an SLSB...
ejbPassivate() of a SFSB is not the same as entity bean...
The list goes on.....
<!ELEMENT cmr-field (description?, cmr-field-name, cmr-field-type?)>
<!ELEMENT cmp-field (description?, field-name)>
And the exam requires you to be perfect with the spelling!
My suggestion is to memorize the tags as hard as you can and after the exam, try to forget them as soon as possible!
 
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does the exam require you to memorize dd tags? If so, about how many questions? Is there particular tags that I should focus on?
Thanks
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Keith,
I got around 3 questions on the DTD tags.
Recognizing the element is easy in the exam, but all the options shown appear very familiar at that moment. Unless you get the spelling right, you may not get the answer right...
I think getting those awful dtd tags into my head helped me...
reply
    Bookmark Topic Watch Topic
  • New Topic