my dog learned polymorphism
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Frustrated with ejb-jar.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Frustrated with ejb-jar.xml" Watch "Frustrated with ejb-jar.xml" New topic

Frustrated with ejb-jar.xml

Karthik Jayaprakasham

Joined: Jan 15, 2004
Posts: 21
Quite frustrated with the ejb-jar.xml...Coudn't sun follow a naming convention..
For ex..
I thought res-ref-name is named that way instead of <resource-ref-name> because it was too long but hang on there's
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)
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1066
I also agree with you. SUN is known for its misleading naming conventions...

Right from Java Web Server to 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!
Keith Rosenfield
Ranch Hand

Joined: Nov 25, 2003
Posts: 277
Does the exam require you to memorize dd tags? If so, about how many questions? Is there particular tags that I should focus on?

Keith Rosenfield<br />SCJP<br />SCWCD<br />SCBCD
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1066
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...
I agree. Here's the link:
subject: Frustrated with ejb-jar.xml
It's not a secret anymore!