Jump to ratings and reviews
Rate this book

Real World Java EE Patterns Rethinking Best Practices

Rate this book
This pragmatic book offers the real world knowledge you need to develop lean and maintainable Java EE 5 / 6 applications. Real World Java EE Patterns - Rethinking Best Practices guides you to efficient patterns and best practices in a structured way, with code from real world projects.
This book includes coverage of:
An introduction into the core principles and APIs of Java EE 6 (EJB, JPA, JMS, JCA, JTA, DI, Convention Over Configuration, REST),
Principles of transactions, Isolation Levels, remoting in Java EE 6 context,
Discussion of superfluous patterns and outdated best practices like DAOs, Business Delegates, DTOs, extensive layering, indirections,
Patterns for integration of asynchronous, legacy, or incompatible resources,
Infrastructural patterns for eager-starting of services, thread tracking, pre-condition checks, Java EE 6 lookups or integration of third-party Dependency Injection frameworks like Guice,
Fully functional JCA implementation with source code,
EJB 2 - EJB 3 migration strategies

280 pages, Paperback

First published June 22, 2009

41 people are currently reading
165 people want to read

About the author

Adam Bien

10 books4 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
29 (28%)
4 stars
36 (35%)
3 stars
22 (21%)
2 stars
10 (9%)
1 star
4 (3%)
Displaying 1 - 4 of 4 reviews
Profile Image for Andreas Manessinger.
43 reviews4 followers
December 30, 2014
I highly recommend this book, although, strictly speaking, it is not very good. Someone on Amazon or maybe here complained that it feels like a sloppily assembled collection of blog posts, and I think that ultimately describes my own feelings pretty well. It does not matter though. Content is important and content is where this book shines.

Who is it for? By all means, if you expect an introduction into Java EE and its basic concepts, look elsewhere. This is no beginner's book, this is about the hard stuff and the non-obvious parts of the spec. On the other hand, I have written a fairly large Java EE 6 tutorial myself (google "An Eclipse / GlassFish / Java EE 6 Tutorial" if you're interested) and I have enjoyed Bien's book. Bien teaches a non-dogmatic, free-form style of Java EE development, and he teaches you to actually think about your architecture instead of following blueprints.

Like other authors trying to cover modern Java EE, Adam Bien spends a lot of effort trying to convince you, that the old patterns from legacy J2EE are mostly ready for retirement. If you've never used J2EE, most of that is wasted on you and it won't even be understandable. But then, coexistence of J2EE and Java EE 6/7 is a big use case in the corporate world.

In the end this is just like any other book of patterns: Try to understand them, use those you need, skip the rest. In fact, as Java EE is so capable at its core and as this book covers a lot of corner cases, you'll probably end up skipping most patterns here. Still, it's good to know them and it will make you a better developer.
Profile Image for Enrique.
11 reviews
January 25, 2016
this is a must-read for every jee developer, specially for those who have been working for a long in jee apps whose architecture has not been updated for a while.

adam bien is explaining why we shouldn't use (most of) the old j2ee patterns and what we can use instead, enforced to developers to build microservices/distributed apps oriented.

even if i find this book superb i gave just 4 stars because:

- if you are a new developer and haven't ever worked with j2ee patterns this book will be difficult to understand. even if adam briefly explains each j2ee pattern still is not easy to understand.
- the wording, general chapter structure and explanations are not well organized and sometimes it becomes cryptic.
- more designs/diagramms and a bit of colour dont hurt

Profile Image for Nos.
4 reviews3 followers
July 27, 2013
Analysis of the traditional design patterns used in J2EE with regards to their relevance in JEE. If you were an architect in the J2EE days and want to know how to architect JEE apps, this is the best book available. If your coming new into JEE, it's still excellent, although the reader will miss some of the brilliance of the text.
Displaying 1 - 4 of 4 reviews

Can't find what you're looking for?

Get help and learn more about the design.