Product DescriptionIt is a well-known fact that most software projects fail. Drawing important lessons from failure is the goal of Bitter Java, a systematic account of common server-side Java programming mistakes, their causes and solutions. This book covers antipatterns for base Java and J2EE concepts such as Servlets, JSPs, EJBs, enterprise connection models, and scalability. It illustrates common pitfalls of Java programming through code examples and then presents re-factored code and explains why the new solutions are safe.
Written in an engaging style, this book begins each chapter with an extreme sports adventure gone wrong, and cunningly weaves the moral of the story into the discussion of Java development problems. Bitter Java begins with an overview of antipatterns and lays the foundation for server-side Java development. The author quickly builds momentum with a set of core server-side antipatterns for servlets and JSPs. He uses a bulletin board example to discuss common mistakes in basic server-side design, and iteratively refactors it until he reaches good design. By reusing this example, the author guides the reader through increasingly complex antipatterns of caching, database connections and EJBs. High-level discussions of programming hygiene and performance tuning, complete with related antipatterns, help to round out the coverage.
The intermediate developer is the intended reader of this book but developers at all levels will gain insight from the discussions of basic design patterns for Java JSP programming, round tripping, the perils of ignoring caching and connection pooling. More advanced topics such as performance tuning, EJB and XML are also included.
Customer Reviews
Average Rating:
Rating: - A Joke?
Bruce Tate tried to make learning Java more fun. He failed miserable. What is this? A novel? A sports book? More than 50% of the contents talks about his kayaking and sporting experience. I was surprised that at the end of the book I did not find his list of dates. Luckily I bought it used. Stay away from this book.
Rating: - Good But Could Have Been Better
I'm mixed on this one. This books attempts to present refactoring in a way that inexperienced developers can understand. In that respect, I think the author delivers. If you're a beginner (or maybe into mid-level), get this book when you're past the fundamentals stage. Advanced programmers, however, will already be aware of most of the material from experience. I think it would have been better to target either either advanced developers with more complex topics and code, or just fine-tune this text ... Read More
Rating: - Absolute Rubbish
The author himself is one of the reviewers who gave this book 5 stars. That made me wonder if others who think highly of this book are somehow related to Mr. Tate. His friend? Family member? Colleague?
To me, this book is absolute rubbish. Claims big but delivers nothing. Don't believe me? Get the PDF version before you waste your money. Read the bookstore's refund policy because you'll need it.
Rating: - Good for beginning developers
This book is well written but I was expected something more advanced. If you have been a real J2EE developer for at least a year, you would probably have run across some if not most of the problems already. You also would have worked around them using solutions from other Java books you have.
This is a good book for new developers. They should be able to recognize problems early on after reading this book.
Rating: - Good java anti-patterns book
good sections on the ejb and web tier with common anti-patterns illustrated. however most materials are introductory and i was hoping for more advanced techniques and advice to writing good j2ee app. this is definitely a good first book to understanding how to write/architect j2ee app the right way.