It is a well-known fact that most software projects
fail. Drawing important lessons from common failures is the
goal of Bitter Java.
Reusing design patterns is not enough for success:
patterns are like partial maps of dangerous terrain. They
help, but don't prevent you from getting lost. Bitter Java
teaches you how to recognize when you are lost, and how to
get back on the right path. It illustrates common pitfalls
of Java programming through code examples; it then
refactors the code and explains why the new solutions are
safe.
This
book is a systematic account of common server-side
Java programming mistakes, their causes and solutions. It
covers
antipatterns for base Java and
J2EE concepts such as
Servlets, JSPs, EJBs, enterprise connection models, and
scalability. If you are an intermediate Java
programmer,
analyst or architect eager to avoid the bitter experiences
of others, this book is for you. After studying
antipatterns in this book such as:
- Round-tripping
- The magic servlet
- The cacheless cow
- Performance thrashing
You will be standing on the shoulders of those who failed
before you.
Contents
- Part 1 The basics
-
- 1 Bitter tales
- 2 The bitter landscape
- Part 2 Server-side Java antipatterns
-
- 3 Bitter servlets
- 4 Bitter JSPs
- 5 Bitter cache management
- 6 Bitter memories
- 7 Bitter connections and coupling
- 8 Bitter beans
- Part 3 The big picture
-
- 9 Bitter hygiene
- 10 Bitter scalability
- 11 Sweet parting thoughts