This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Should I memorize XML format in JPA section Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Should I memorize XML format in JPA section" Watch "Should I memorize XML format in JPA section" New topic
Author

Should I memorize XML format in JPA section

Jair Rillo Junior
Ranch Hand

Joined: Aug 27, 2008
Posts: 114
Hi Guys,

I'm studying for SCBCD 5.0 and I've a doubt regarding XML in JPA section.

Of course I need to know how to create an Entity using annotations (@Entity, @Table, @Id and so on), but Should I also memorize how to map an entity through XML?
Looking at MZ's study guide, he shows UP the annotation and the XML as well.

Thanks in advice.


Regards, Jair Rillo Junior
http://www.jairrillo.com/blog, SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 5.0, IBM SOA Associate (Test 664).
Nitin Takale
Greenhorn

Joined: Nov 30, 2006
Posts: 26
Hi,

To be on safer side it's better if you do the same because according to Exam Objectives under Java Persistence API Entities section the last point is

Describe the use of annotations and XML mapping files, individually and in combination, for object-relational mapping.

So ..

It's easy once you start doing it.

Because as it is you are going to memorize annotations.. the xml elements of it are running parallel so not a problem.

But when I appeared for the exam I got most of the questions of annotations. Not even a single question on XML deployment descriptor elements.

But yes I got the questions on the location of all these mapping files and DD.


That's it..

Nitin


Nitin<br /> <br />SCJP 6.0<br />SCBCD 5.0
Jair Rillo Junior
Ranch Hand

Joined: Aug 27, 2008
Posts: 114
Thanks Nitin,

I'll take a time to memorize them
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Should I memorize XML format in JPA section
 
Similar Threads
Tips for learning API content
EJB 3.0 Entity Beans
is knowing XML mandatory
Is primary key a must for an entity bean
Composite Key consisting of an Entity and a Property