I am new to EJB world and preparing for SCBCD exam. I have gone the OR'eilly book cover by cover and now I am going through it 2nd time. Do I need to learn by heart all the annotations and their corresponding xml
Please help
"Know where to find the solution and how to use it - that's the secret of success."
You are expected to know 'all' annotations for the exam. It is mandatory. Learn them by heart!. For the XML part, of course you are expected to know them; but you don't highly required to memorize all of them, for the exam. A good knowledge about how those xml elements are structured, is sufficient. For an example, you need to know that interceptors should be defined under the <interceptors> tag. And then you have to know that the class name and around invoke methods should be defined there. But you don't highly require to memorize the tag names exactly (as <interceptor-class>, <around-invoke>...). Because you can guess them on the exam.