aspose file tools*
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
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
 
 
subject: Should I memorize XML format in JPA section