Java Enterprise Best Practices

by Piotr Likus on October 10, 2015
Overview
Item Reviewed

Java Enterprise Best Practices

Author
October 10, 2015
Book author(s)

The O'Reilly Java Authors

Publisher

O'Reilly Media

ISBN(s)

978-0-596-00384-5, 0-596-00384-6

Pages

292

Publication year

2003

Overview

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:

  • EJB
  • JDBC
  • XML
  • RMI
  • JMX
  • JavaMail

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

Summary

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.

Positives

* wide range of APIs
* practical code examples
* well organized
* contains patterns

Negatives

* can be partially outdated today (CMP, EJB 2.0, no Hibernate)

Rating
Our Rating
User Rating
Rate Here
Rating
Bottom Line

Well organized JEE tip collection, useful as an addition to other JEE books.

Total Score
User Score
1 rating
You have rated this
Fonts by Google Fonts. Icons by Fontello. Full Credits here »