This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pro JPA 2 - Question

 
Joe Harry
Ranch Hand
Posts: 10091
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Authors,

Is this book the new version of the already existing Pro EJB 3.0? I'm a big fan of the Pro EJB 3.0 book!
 
Mike Keith
author
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jothi,

Yes, this is a new edition of that book that includes some new chapters and all of the new JPA 2.0 material. If you liked Pro EJB 3 and want to learn the JPA 2 features then I suppose this is the book for you. (In fact, since there are no other books about JPA 2 then I guess this is the book for you anyway!)
 
Joe Harry
Ranch Hand
Posts: 10091
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply. But one thing I noticed in the previous version of your Pro EJB 3 book is that the examples mentioned in the book mostly deals with EJB and calling the entities from within the EJB. How does this get addressed in "Pro JPA 2"? Are the examples EJB driven?
 
Mike Keith
author
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Except for Chapter 3, where we talk about the enterprise components, most of the examples have nothing to do with EJB. If there needs to be an injected EM to illustrate something then we will use a stateless session EJB, but of course if you take away the @Stateless annotation then it might as well be a Spring bean or any other injectable bean that supports transactions and the @PersistenceContext annotation (in fact, Spring even has support for @Stateless). There is nothing in this book that ties you to EJBs. However, we do show in chapter 3 how using EJBs can make life super easy.
 
Joe Harry
Ranch Hand
Posts: 10091
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it. Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic