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)
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!
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
Keith Rosenfield<br />SCJP<br />SCWCD<br />SCBCD
Joined: Aug 27, 2003
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...