Recommended Reading: J2EE AntiPatterns

José M. Pérez

José M. Pérez / May 24, 2009

2 min read204 views

J2EE AntiPatterns is a book that teaches design patterns using a different approach.

J2EE AntiPatterns Cover

Accustomed to the descriptions of design patterns based on the famous Design Patterns: Elements of Reusable Object-Oriented Software book, which was the first one in classifying and studying techniques to solve recurring problems in programming, J2EE AntiPatterns, rather than listing various design patterns and explaining in what scenarios each one might be applied (it is true that some are applicable only when using certain languages or in very specific cases), begins showing the problems that we can face when writing code in an object oriented language like Java, and explains how to solve them by proposing a design pattern.

Thus, the reader can see some problems they have faced by writing code or designing an application (repetition of code, copy and paste, lack of flexibility, refactoring, hardcoded content, etc). In the same way design patterns are given a name by which we identify and refer them universally, anti-patterns are also named (Localizing Data, Misunderstanding Data Requirements...).

Although Java is used in the examples to illustrate the cases, the fact is that the content of the book is easily applicable to any object-oriented programming language.

In short, a book that is recommended for those who want to find a way to better understand the design patterns and how they can improve their developments.