Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your email address or mobile phone number.
Real World Java EE Patterns Rethinking Best Practices Paperback – June 15, 2009
Top 20 lists in Books
View the top 20 best sellers of all time, the most reviewed books of all time and some of our editors' favorite picks. Learn more
Frequently Bought Together
Customers Who Bought This Item Also Bought
Top Customer Reviews
It was amusing to see Spring and Guice referred to as legacy technologies now that Java EE 6 has arrived. I think this was mentioned only twice. This book is still very useful to Spring (and maybe Guice) developers since the programming model is practically the same as Java EE 6, and it is a book on design patterns.
This book is self published, and you can tell. There are some spelling mistakes, awkward grammar (the author is German), formatting issues, etc. The book was edited, but probably not by a technical person, so they left some things as-is because they didn't understand it. Since I found this book so helpful, these issues didn't really bother me. I just wish I would have highlighted each issue while reading so that I could mail it back to the author and have him send me a second edition for free.
Many of the things (patterns and best practices) you learned about J2EE, the previous version of the Java EE specification, are now no longer relevant, and Adam's book will help you quickly get up to speed with the new best practices. For those who need to integrate or maintain legacy code bases, there is even a chapter about "EJB 2 Integration and Migration".
This is the book I wish we had when we started developing the Nuxeo 5 open source ECM platform 3 1/2 years ago, on top of the then brand new Java EE 5 platform. It would have saved us many hours of refinement of the initial prototype.
S. Fermigier, founder and chairman, Nuxeo.
- if are junior or less experienced developer, make it 4 starts (because you won't get like 50% of the book)
- if you are senior developer or architect, make it 5 stars (if you worked with previous J2EE versions and now working with Java EE, it's just must read)
- if you buy kndle version, make it 3 stars LESS (because it's rubbish, see bottom of this review)
Now, about the book. This book is set of various Java EE patterns and it rethinks fundamental ways how Java EE applications are developed. Book explains why some older patterns are discouraged now, or at least why there is no such need to use them anymore. Then book introduces plenty of new patterns, some are pretty cool - for example those that use interceptors in situations I would've never thinked of. And last, but not least, book describes plenty of migration strategies, like for example how to migrate EJB2 to EJB3 or how to migrate Guice/Spring DI components to EJB3.
It's quite hard though. I don't remember all the patterns now and I think I didn't even get them all. But at least if I ever hear something similar, I know where to look.
Warning: don't buy kindle version. I believe Adam Bien put effort in formatting code, but in Kindle version it is completely unformatted. It's just complete unreadable rubbish :( Amazon should never sell kindle versions like this!
"Real World Java EE Patterns" is a book targeted rather for developers with some experience with JEE. If you are a beginner, you can miss some context. If you have some experience with JEE, in this book you'll probably find solutions to problems that are familiar to you.
Adam Bien is great at explaining difficult topics. Difficult? I didn't find anything difficult in this book ;) E.g. transactions isolation is explained very clearly.
The book is very good catalog of JEE Patterns. Each pattern is described separately in similar manner. Each chapter has subchapters: "Problem", "Forces", "Solution", "Testing", "Documentation", "Consequences" and "Related Patterns". In "Problem" a reader can find short description of a problem the pattern should solve. "Forces" shows features that solution should have. "Solution" contains description of pattern, what classes it consists of and what is their responsibility. Usually accompanied by very clear and simple pieces of code. In "Testing" and "Documentation" author highlights what should we test when we use certain pattern, and what should be documented (quite obvious, isn't it?). In "Consequences" we can read about what are pros and cons of the pattern. "Related Patterns" is self explanatory. Most interesting subchapter is "Solution", and it also has sub-subchapters. One of them is "Rethinking". It is good part for experienced JEE developers. Adam shows why some patterns are obsolete. It doesn't mean you should never use it, but in most cases it is no longer necessary in JEE5 or 6. Some patterns, when moved from EJB2 to EJB3, are not adding any value, but instead are adding layer of abstraction and unnecessary complicating the system.Read more ›
Most Recent Customer Reviews
5 for advanced users. Have 12 years of experience have worked with most of the technologies in the book and still find the book interesting to read and very informative. Read morePublished 3 months ago by Amazon Customer
The book covers the patterns in a typical problem-solution manner. The author elaborates on forces, consequences and alternatives/variants.
The patterns are really practical. Read more
Arrived exactly as described - I am very pleased with this product.Published 9 months ago by Panduit-OP
Reading this book took me through many concepts that I am unaware of. It was quite some time since I read anything significant in java world. Read morePublished 9 months ago by narayan
This book is helping me shift my thinking from J2EE to Java EE. Many of the old J2EE design patterns are obsolete or have become anti-patterns in Java EE, but it's difficult to... Read morePublished 9 months ago by M. Woinoski
Very accurate info. The 'best practices' needed re-thought owing largely to the changes in Java EE as of version 5, and continuing through version 6. Read morePublished 15 months ago by Knows Jack
This is a must read for any Java EE enthusiast. I find it very useful and informative and insightful. Read morePublished 19 months ago by Ertunc Aybars