Real World Java EE 6 Patterns--Rethinking Best Practices Reloaded

A completely rewritten, second, iteration of the Real World Java EE Patterns--Rethinking Best Practices book is available.

Although I tried to prune as much content as possible, the book has now 431 pages--171 pages more than the first iteration. The reason for the extensive size growth is the discussion of several new Java EE 6 patterns and utilities like: Plugins, HTTP Events, Re-Injector, Custom Scope, Parallelizer (…).

The "Rethinking" book also comes with a transactional JCA 1.6 connector implementation--a simplistic key-value store. Most of the patterns are a "clean room" extraction from things that worked well in my daily consulting work. Some patterns are directly extracted from my open source projects like: or

A Table of Contents says more than thousand words :)

  • A Brief History of Java EE
  • Understanding Java EE Core Concepts
  • Rethinking the Business Tier
  • Boundary (Application Service)
  • Control (Service/Session Façade)
  • Entity (Business Object)
  • Gateway
  • Fluid Logic
  • Paginator and Fast Lane Reader
  • Configurator
  • Re-Injector
  • Async Worker (Service Activator)
  • Parallelizer
  • HTTP Events
  • Transparent Cache Integrator
  • Aspect
  • Transaction Progress Listener
  • Scheduler
  • Binary REST Serializer
  • Plugin
  • Retired Patterns
  • Rethinking the Integration Tier
  • Data Access Object
  • Transfer Object and Data Transfer Object
  • EJB 2 Integration and Migration
  • Legacy POJO Integrator
  • Generic (File) JCA
  • Infrastructural Patterns and Utilities
  • Service Starter
  • Singleton
  • Bean Locator
  • Thread Tracker
  • Payload Extractor
  • Resource Binder
  • Context Holder
  • Custom Scope
  • Telemetry Provider
  • Logger Injector
  • Self-Invoking Beans
  • Late Starter
  • Pragmatic Java EE Architectures

The sample projects are already checked-in into:

Feedback is, as always, highly appreciated. But: I spent several days in word processor formatting the final version of the book, so all negative comments about formatting are going to be marked as spam :-).

See you at!


Is there an ETA for the eBook ?

Posted by Sebastian on September 06, 2012 at 02:55 PM CEST #

Wow! I loved the first iteration. This should be awesome.
Are you going to sell it on Amazon? Will there be a version for Kindle?


Posted by Daniel on September 06, 2012 at 09:49 PM CEST #


The book is going to be available on amazon and also in major US stores. However, it can take a several weeks.

Kindle version is going to be available as well.

I "only" have to convert and format the files again :-)

thanks for reading my stuff,


Posted by Adam Bien on September 07, 2012 at 12:40 AM CEST #


Kindle version should be available in a few weeks.

thanks for your interests!,


Posted by Adam Bien on September 07, 2012 at 12:41 AM CEST #

I have a kindle reader installed
on my windows pc.
The kindle does not include page
numbers and the formatting sucks!!!
They tell me this only occurs on
kindle's pc version.
Try pdf , No pc kindle for me,

Posted by douglas on September 11, 2012 at 03:54 PM CEST #

Do you have an iteration planned for the Night Hacks book?

Posted by John on September 11, 2012 at 04:23 PM CEST #

Cool. Will the book be available in the UK?

Posted by Michael Hodgins on September 11, 2012 at 06:36 PM CEST #

A must have :)

Posted by Xavier Callejas on September 13, 2012 at 03:48 AM CEST #

Hoping eBook will be available soon. Its the format I could easily get here. I already bought 2 eBooks previously.

Posted by James on September 28, 2012 at 12:25 PM CEST #

is this book available as a PDF? I don't buy paper books anymore.

Posted by Kim Gabrielsen on November 19, 2013 at 06:29 PM CET #

Nice! (but waiting to be able to buy a digital non-Kindle version)

Posted by Joe Lemm on January 20, 2014 at 07:12 PM CET #


Posted by on February 19, 2016 at 08:21 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments