« Min RSS | Main | Blogapps 1.0.3 and... »

Pro EJB 3 Java Persistence API

Even though we're still stuck at JDK 1.4.2 in Roller-land, I've been trying to come up to speed on Java EE 5. To that end, I bought Pro EJB 3 Java Persistence API by Mike Keith and Merrick Schincariol and I'm glad that I did, it's excellent. If you need to learn JPA, grab a copy and sit yourself down with Netbeans 5.5 beta2 and the Enterprise Pack -- it worked for me.
Comments:

I second the approval of the Keith/Schincariol book. It covers all the topics you're likely to need to know about.

Two things NB 5.5 does that Eclipse 3.2 doesn't, although I don't know if MyEclipse or some other plugin helps with either one: Netbeans has, IMO, better autocompletion for annotation element names, which is really helpful when you're learning the annotation-driven configuration of JPA. NB also knows how to give hints about your JPA annotation usage.

Posted by Adam Constabaris on September 17, 2006 at 02:07 PM EDT #

Hi, The book is great. No doubt. But there are some conflicts with the EJB 3.0 Persistence API spec (Mike Keith is spec leader with Linda DeMitchel) in the examples. For example there are mapping annotations on setter methods which are definitely prohibited in chapter 2.1.1 of the spec: "These annotations must not be applied to the setter methods." A lot of JPA users don't read the spec at all and take everything in good faith. So, good users: if you ever doubt in anything, check the spec first ;-) Most probably the book is finished before the final release of the spec. Martin

Posted by Martin on September 18, 2006 at 12:05 PM EDT #

gfd

Posted by 193.3.95.240 on October 09, 2007 at 11:41 AM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed

« Min RSS | Main | Blogapps 1.0.3 and... »

Welcome

This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog

Related entries

Below are the most recent entries in the category Java, some may be related to this entry.