Jump to ratings and reviews
Rate this book

Real World Java EE Patterns--Rethinking Best Practices

Rate this book
Real World Java EE Pattern--Rethinking Best Practices discusses efficient patterns and best practices in a structured way, with code from real world projects.

The rewritten and re-edited version of this book

An introduction to the core principles and APIs of Java EE 6 (EJB, JPA, JMS, JCA, JTA, Dependency Injection, Convention Over Configuration, Interceptors, REST)
Principles of transactions, isolation levels, and remoting in the context of Java EE 6
Pragmatic modularization and structure of Java EE applications
Mapping of the Core J2EE patterns into Java EE
Superfluous patterns and outdated best practices such as DAOs, interfaces, DTOs, service locators, extensive layering, indirections, and so on
Patterns for domain-driven and service-oriented components
Patterns for integration of legacy resources
Utilities such as custom scopes, parallelizers, real time HTTP events, schedulers, REST optimizations, plugins, and monitoring tools
Lean and pragmatic service- and domain-driven architectures, based on the discussed patterns
Fully functional Java Connector Architecture (JCA) 1.6 implementation with source code

Real World Java EE Pattern--Rethinking Best Practices will not only help even experienced developers and architects to write concise code, but it will especially help developers shrink the codebase to unbelievably small sizes. :-)

433 pages, Kindle Edition

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
11 (10%)
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.