Java Enterprise Best Practices
The O'Reilly Java Authors
Java Enterprise first time appeared in 1999 with J2EE 1.2 and is used in large scale applications till today. “Java Enterprise Best Practices” was published for the first time in 2002 (only three years after JEE release). The book is easy to understand, it contains collection of useful tricks ready to be applied to your own projects. It’s written by experts but you don’t have to be an expert to understand it. Inside you can find plenty of code examples, some screenshots, architecture diagrams and tables presenting good practices.
Tips in the book are split by various APIs existing in J2EE when the book was written:
The format of this book is not helpful if you need whole reference information about selected API. It’s not even an introduction to the subject. I would rather think of this book as a catalogue of tips for developers who already use the selected technologies.
What topics I found particularly interesting in this book:
- description of design patterns:
- Session Facade
- Value Objects
- Dynamic Proxy
- internationalization (I18N) tips
- JNDI call caching
- business delegates & interfaces
- browser cache & download control
- database: optimistic locking, connection handling (config, pooling), JDBC threads for GUI
- primary key generator
- URL rewriting filter
- RMI & JMX examples
You can think that it was too soon to write this book three years after J2EE first release but I think it was worth to read it. Some of tips can be misleading today – they were written years ago, but for sure you can at least get an idea how to solve practical problems you maybe met during your working with JEE. Use this book rather as an additional, something extra that can be read after introductory or reference book.
* wide range of APIs
* practical code examples
* well organized
* contains patterns
* can be partially outdated today (CMP, EJB 2.0, no Hibernate)