Pro EJB 3.0 Persistence (Pro)

  Author:    Jason Haley, Michael Keith, Merrick Schincariol, Mike Keith
  ISBN:    1590596455
  Sales Rank:    153597
  Published:    2006-05-13
  Publisher:    Apress
  # Pages:    400
  Binding:    Paperback
  Avg. Rating:    5.0 based on 16 reviews
  Used Offers:    14 from $29.09
  Amazon Price:    $40.49
  (Data above last updated:  2008-10-11 05:55:21 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
Pro EJB 3.0 Persistence (Pro)
  

EJB 3.0 sets a new precedent. It has made huge advances in ease of development, and its drastically simplified programming model has been widely acclaimed.

Mike Keith, EJB 3.0 co-specification lead, and Merrick Schinariol, reviewer of EJB 3.0, offer unparalleled insight and expertise on the new EJB 3.0 persistence specification, in this definitive guide to EJB 3.0 persistence technology. Expect full coverage and examination of the EJB 3.0 spec from these expert authors, including:

  • The new EntityManager API
  • The new features of EJB Query Language (EJB QL)
  • Basic and advanced object-relational mapping
  • Advanced topics like concurrency, locking, inheritance, and polymorphism

Assuming a basic knowledge of Java, SQL, JDBC, and some J2EE experience, Mike Keith and Merrick Schinariol will teach you EJB 3 persistence from the ground up. After reading it, you will have an in-depth understanding of the EJB 3.0 Persistence API and how to use it in your applications.

                  Reader Reviews 1 - 20 of 20                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
03-15-08 2 2\3
(Hide Review...)  Complete, but not really usable
Reviewer Permalink
This books seems to achieve the goal it has in mind, that of providing the user with the information necessary to use the Java Persistence API. Unfortunately there are real problems in the execution of this book.

A book like this should not only be full of examples, but it should be structured in such a way that it is easy for someone using the book to duplicate the examples on their own system. This book fails to do so.

In chapter two we are promised a complete application using the new API by the end of the chapter. The source code is provided for the application discussed and it is a pretty good example of the API discussed up to that point. Unfortunately there isn't enough information for the reader to build and run the application on their own computer. There is no reason for this kind of omission this early in the book.

The problems with the book continue as one moves on. I recognize that the target audience for this book includes only professional programmers of reasonable skill. I consider myself a very good Java programmer. That doesn't mean that I want to waste my time filling in gaps that should have been covered by a book I already spent my money on. It isn't any excuse for the omissions in this book.
(Review Data Last Updated: 2008-10-09 06:07:32 EST)
02-18-08 5 1\1
(Hide Review...)  Excellent!!
Reviewer Permalink
This book is a joy to read. Object relational mapping is explained in a very simple manner. What I like about this book is that it explains a certain concept and then immediately talk about the specific use-cases when that concept/design may not be the best choice. The authors then give excellent suggestions and alternatives.

Very good reading material, simple examples used to explain complicated concepts. Writing style of the authors is also very engaging.

A very good buy.
(Review Data Last Updated: 2008-10-11 05:58:05 EST)
11-16-07 5 (NA)
(Hide Review...)  Must Read book for JPA
Reviewer Permalink
This is the best book out there that explains in detail how JPA works with some good examples. I found the book to be well structured and easy to read.

I would recommend this book for anybody who is looking to work with JPA.
(Review Data Last Updated: 2008-02-18 04:44:03 EST)
10-23-07 5 (NA)
(Hide Review...)  Great Reference for JPA
Reviewer Permalink
Pro EJB3 is a great book. Having been using it for over last 6 month on my recent project, I can definitely say that this book is invaluable.

Have been worked on EJB 2.x for many years and on several projects with different application servers (Weblogic, JBoss, WebSphere), I understand the basics of EJB. So I want not only understand the basic how-to in EJB3 and JPA, but also want to understand the in depth explanations on transaction, persistence context and different behavior in the new system.

The book explain all these topics very well. I had brought other book (hibernate in action with JPA pdf version), but found that book was too focused on hibernate (even I was a fan of the previous edition of hibernate in action book). This book is well focused on JPA,and I really likes JPA APIs.

The book author is really nice and accessible. I have emailed Mike questions and he consistently replied promptly.

This book worth the money !!!

Chester


(Review Data Last Updated: 2007-11-17 04:06:56 EST)
06-01-07 3 0\10
(Hide Review...)  Company decided against using EJB 3.0
Reviewer Permalink
Anything that requires getting a bunch of jars on the server classpath was deemed unsuitable for automated deployments. I wonder how people manage automated deployments and configurations, especially in a multi-server clustered environment.
(Review Data Last Updated: 2007-10-23 02:02:46 EST)
05-25-07 5 (NA)
(Hide Review...)  Well written
Reviewer Permalink
This book is very well written. Everything is explained in a simple manner. It gives you a good understanding of JPA.
(Review Data Last Updated: 2007-07-04 14:48:09 EST)
05-23-07 5 (NA)
(Hide Review...)  Strong EB / JPA Book
Reviewer Permalink
I bought this book to learn the intricacies of EJB3 and for the most part it did a good job. There are good and bad points to it.

The good - Since Entity Beans and the concept of using them with EJB queries and the Entity Manager are the biggest change to hit EJB3 this book focuses mainly on that. It goes into good depth on the various annotations to use and how they are used. In addition he has a chapter devoted to writing queries. Which while sounding trivial for those not use to hibernate or EJB3 can be a major pain since they are different from writing regular SQL queries.

The bad - this book for the most part is very light on the MDB and Session beans. Of course there isnt too much to say about them. I just expected for a Pro book a more in depth analysis. However, for most people that would have been boring anyway. Also, I didn't think some of the advanced examples were hard enough.

course this being all said i'd still give it 5 stars. It focuses on the major items of EJB3 you need to know, and you can come away with some solid cases.
(Review Data Last Updated: 2007-07-04 14:48:09 EST)
03-04-07 4 0\1
(Hide Review...)  Informative, but light.
Reviewer Permalink
I got the feeling that the authors were stretching the content a bit to bring it up to book length, and I would have preferred denser material with the same information. Still, a good (and easy) read. I'd learned java in the pre 5 days, and so annotations were totally new to me.
(Review Data Last Updated: 2007-04-12 15:53:36 EST)
03-03-07 4 0\1
(Hide Review...)  Informative, but light.
Reviewer Permalink
I got the feeling that the authors were stretching the content a bit to bring it up to book length, and I would have preferred denser material with the same information. Still, a good (and easy) read. I'd learned java in the pre 5 days, and so annotations were totally new to me.
(Review Data Last Updated: 2007-04-11 09:37:58 EST)
02-24-07 2 1\3
(Hide Review...)  Frustrating
Reviewer Permalink
A good tech book has no fluff or filler, makes it easy to see and reference the major points and principles, and has solid unambiguous examples. This book disappoints on all three counts. This book has a lot of padding: it spends a lot of time repeating what it already said or prefacing what it will say next, or using an entire paragraph to say what a single clear sentence would. The principles and major points are then buried in that muck instead of being clearly stated and highlighted. On the bright side, chapter 7 (Query Language) had plenty of nice examples.
(Review Data Last Updated: 2007-07-04 14:48:09 EST)
02-23-07 2 (NA)
(Hide Review...)  Frustrating
Reviewer Permalink
A good tech book has no fluff or filler, makes it easy to see and reference the major points and principles, and has solid unambiguous examples. This book disappoints on all three counts. This book has a lot of padding: it spends a lot of time repeating what it already said or prefacing what it will say next, or using an entire paragraph to say what a single clear sentence would. The principles and major points are then buried in that muck instead of being clearly stated and highlighted. On the bright side, chapter 7 (Query Language) had plenty of nice examples.
(Review Data Last Updated: 2007-03-05 03:38:56 EST)
01-16-07 5 1\1
(Hide Review...)  Excellent JPA Book
Reviewer Permalink
Late in 2006 I needed to update a class my company teaches on EJB. We wanted to move to EJB3 + JPA. I had read the reviews of this book so I decided to get it. Without a doubt, this is an excellent coverage of JPA. I actually read the book cover to cover and learned quite a bit along the way.

I did augment reading with a lot of coding, but I was able to use this as my primary reference. The only place where I needed to use other resources was in the area of error handling in the JPA provider's implementation. This is clearly beyond the scope of the book and I do not blame the book for that.

If you are going to be using JPA in a JSE environment, be prepared to use this book to understand what you should do and use the source code of your JPA implementation to figure out what you must do.
(Review Data Last Updated: 2007-02-23 13:18:47 EST)
12-04-06 5 1\1
(Hide Review...)  Outstanding JPA reference
Reviewer Permalink
Having now spent some time with the new JPA I have found this book (Pro EJB 3: Java Persistence API) to be an invaluable resource. The ability to use this API across a variety of Java platforms/technologies I find invaluable and the clarity and completeness of this reference is a 'gold mine'. I find it to not be a dry reiteration of the specification but an interesting book to read that thoroughly describes the JPA specification and how to use it. The original intent in acquiring this book was to use it in the development of EJB 3.0 components. However, I have also found it to be quite useful beyond this specification. There are many coded examples in the book as well as online to illustrate the discussed concepts.
I would highly recommend this book for anyone wanting to use the JPA spec.
(Review Data Last Updated: 2007-01-16 14:34:48 EST)
11-10-06 5 (NA)
(Hide Review...)  An excelent introduction to JPA and EJB 3
Reviewer Permalink
This is a must have book for anyone whow wants to learn and use efficiently the new JPA API. The authors explains very easily how to map all kinds of classes to a database, even for more complexes relationships between entities.

It is also a great book to be used as a reference when designing enterprise applications. Mainly if you are a Java programmer and not an expert database architect.

I highly recommend it.
(Review Data Last Updated: 2006-12-04 12:49:44 EST)
09-25-06 5 3\3
(Hide Review...)  Definitive on EJB3, it should become the classic text on O/R Mapping.
Reviewer Permalink
This is a surprisingly comprehensive and useful book. It looks at all the key issues that stem from the problem of making objects persistent in an enterprise application, provides thoughtful analysis, and supplies proven solutions. Along the way, the book addresses seemingly diverse topics such as transactions, unit testing, and deployment with candor and authority, while providing expert coverage of core persistence topics like object-relational mapping and querying.

While this book is the definitive text for EJB3's Persistence API, it goes well beyond this and should become the standard text on object-relational persistence in general. For EJB developers this book will be essential, but even if you are maintaining or developing your own non EJB3-persistence solution, the insights offered by this book are invaluable. All the key issues surrounding enterprise object-relational persistence are described in detail, and the EJB3 solutions are explained clearly. If you want to understand what object-relational mapping is, this is the book.

Persistence is a complex problem that lies on the critical path to project success. This book explains how the new Java Persistence API in EJB3 solves this problem more simply (and more completely) than earlier versions of EJB. With "plain old Java objects" instead of cumbersome "components," design, development, and testing is radically simplified. But because of the nature of the o/r mapping problem, there is the potential for complexity - you are dealing not only with developing Java code, but also database schema, queries, XML mapping files, code-annotations, managing persistence-units, and all the deployment and runtime considerations that go along with application servers. However, even when things get difficult, there is now a success-path you can follow. This book does not gloss-over these details - through careful explanation it shows a path through them. At no point do you feel that this was written by technology evangelists intent on selling you on EJB 3, but instead by expert developers who want to show you how to use it to your advantage.

For those who have followed the development of the EJB spec, there are great (and for me, even entertaining) insights into the evolution of EJB's vision of persistence. Those who remember the clunky Entities of the early specifications will be shocked by the flexibility and power that the new approach provides. This book makes it clear that, for the 3.0 release, the EJB specification writers have taken the time to understand and solve many of the problems of persistence. The authors take the time to explain the approaches to the persistence problem that different versions of the EJB spec (and others, like JDO) have attempted, and shows rather convincingly that the new EJB3 Persistence API is firmly based on tested products and approaches from industry (like TopLink and Hibernate). EJB and o/r mapping are now mature, industry-ready technologies, and this book clearly explains how to understand and use them successfully.

Developers of enterprise applications should read this book to understand persistence issues and how to use EJB3 products (or adapt their own persistence frameworks) to address them. Managers should to read this book so they can make sure that their teams are aware of these issues and that their project plans take them into account. Sales engineers can use this book as a tool to educate their clients about how EJB3 products solve the object-model / relational-model "impedance mismatch."

A great book - many people should read it, and if they do, the quality of our software can only improve.
(Review Data Last Updated: 2006-11-07 09:47:17 EST)
09-13-06 5 1\1
(Hide Review...)  EJB 3 Thoroughly Explained
Reviewer Permalink
This book provides a very thorough coverage of EJB 3. The authors clearly explain each element of EJB 3 and then provide an example in code showing how to actually use each element. Often, the authors show multiple ways to accomplish a task and follow up with the advantages and disadvantages of, or why you would use each approach.

The book covers the simple and common elements of EJB 3 up front and progresses to intermediate and advanced topics. Advanced concepts include useful real-life examples that include handling large queries, paging, transaction management, and locking. It even covers alternate mechanisms for use -- external XML and annotations, for example. The chapter on testing with various approaches to unit and integration testing is really nice -- it is a bit of a change moving from EJB 2.1 testing to the much simpler EJB 3 testing, but how? The examples show one clearly how to leverage the easier testing model.

Descriptions are explicit and clear -- there is no requirement to dig through the EJB 3 specification documents to comprehend the information in the book.

This is pure EJB 3. Although there are minor references to TopLink, Hibernate and Spring, you will not find extensions these implementations offer in this book.

I highly recommend this book not only as a readable reference book, but also as a great "how-to" book.
(Review Data Last Updated: 2006-09-25 09:28:33 EST)
08-02-06 5 (NA)
(Hide Review...)  Excellent Reference
Reviewer Permalink
I found this book to be an excellent reference for the Java Persistence API. Very easy to read as well, with very good examples of usage. It was very interesting to read about the "behind the scenes" expectations of the JPA specification. I have recommended this book to several colleagues.
(Review Data Last Updated: 2006-09-13 14:41:25 EST)
07-31-06 5 (NA)
(Hide Review...)  Great book!
Reviewer Permalink
This was a very good starting book for EJB 3, and also provided some good background on the other parts of the specification. I found it easy to understand and liked the way it went from the simple concepts to more advanced ones. I haven't downloaded the code examples yet, but the inlined code was good enough to explain the complicated parts.
(Review Data Last Updated: 2006-08-03 09:14:26 EST)
07-31-06 5 (NA)
(Hide Review...)  EJB3 made even easier
Reviewer Permalink
EJB3 is all about "easy to": easy to deploy, easy to read code, easy to port... but then you get to the EJB3 especificiation, and it seems that someone forgot to think about "easy to read".

This book covers the new features that EJB3 brings to the comunity but in a much more understandable way than you will find anywhere else. And I'm referring to both, text and code in the examples.
(Review Data Last Updated: 2006-08-03 09:14:26 EST)
07-04-06 5 2\2
(Hide Review...)  A must have
Reviewer Permalink
This is almost a definitive guide to Java Persistence API (JPA). No matter if you are new to JPA or have some previous experience with other frameworks, you need this book as a reference. It covers most of the basic and advanced topics.
My only comment about this book is that there are some typos and wrong references to figures and listings.
(Review Data Last Updated: 2006-08-01 09:07:33 EST)
  
                  Reader Reviews 1 - 20 of 20                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)