• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is knowing XML mandatory

 
Omar Al Kababji
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, I am preparing for the SCBCD and i am preparing for it from both the (O'Reily) Enterprise JavaBeans 3.0 and (Manning) EJB3 in Action, for now i don't look or try to memorize how to configure session beans, entity beans ... etc using XML, i just focus on java annotations. do I have to know XML mappings too? I have read the specifications and it is not that clear that knowing the XML mappings is a must.
 
Treimin Clark
Ranch Hand
Posts: 757
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unfortunately it is mandatory to learn, as mentioned in the Exam Objectives. And yes, it is very hard to memorize those tags.
 
Omar Al Kababji
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the replay, this is something I was afraid of, I will have to memorize stupid XML mappings
 
Treimin Clark
Ranch Hand
Posts: 757
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
omar al kababji wrote:I will have to memorize stupid XML mappings


It is not stupid. XML descriptors are useful for application assemblers, to override the annotations made by the bean provider.
 
Omar Al Kababji
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes they are 100% good, but the stupid thing is that we are forced to memorize them ... no one memorizes how XML is written, unless you use it everyday. however after you finish developing your application then you could write the needed XML mappings to substitute the annotations so that you can make little modifications with no need to recompile the entire application, and this is great but memorizing the XML is not great.
 
Treimin Clark
Ranch Hand
Posts: 757
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I agree
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic