free ebook Bitter Java.pdf, by Bruce A Tate
This book contains 11 chapters, 3 sections and an appendix. Additional details about the book’s organization and stucture can be found in chapter 1, section 1.5. Here is the overview.
Part 1 covers the foundations of design patterns, antipatterns and standards supporting Internet server-side development.
* Chapter 1 compares antipatterns to other industries that use similar concepts. For example, the medical industry uses preventative care (design patterns) and cures (fixes), but the best doctors diagnose the root causes like weight or stress (antipatterns). I also explain in more depth the organization of this book.
* Chapter 2 covers the base Internet standards, plus a little process: all of the things that you’ll need for server-side Java. It’s not a comprehensive tutorial, but it might let you know where you need more study.
Part 2 covers server-side antipatterns in detail. In it, I start with a poor bulletin board application, and refactor it to solve individual antipatterns
* Chapter 3 introduces the basic server-side antipatterns, and defines the Triangle design pattern common at allmystuff (now Contextual) and IBM. THe core antipattern is the Magic Servlet: a servlet that tries to do all the work.
* Chapter 4 covers the antipatterns from Java Server Pages. SInce JSP has a tag language, this chapter has a decidedly different feel.
* Chapter 5 makes a case for caching by showing that caching at multiple levels of an enterprise can improve performance by an order of magnitude.
* Chapter 6 identifies the Java problems that lead to memory leaks, and discusses troubleshooting techniques.
(more…)
