|
Chapter 1: Bitter Tales | Chapter 6: Bitter Memories
About the BookIt 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 Java 2 Platform, Enterprise Edition (J2EE platform) concepts such as Servlets, JavaServer Pages (JSP), EJBs, enterprise connection models, and scalability. If you are an intermediate programmer using Java technology, analyst or architect eager to avoid the bitter experiences of others, this book is for you. About the ChaptersChapter 1: "Bitter Tales," introduces the relationship between antipatterns, design patterns and refactoring. It makes the case that design patterns are important, but they are not enough. You also need to be able to identify common programming traps, and refactor those antipatterns into cleaner, more elegant solutions. Chapter 6: "Bitter Memories," discusses memory management in Java. Many programmers do not believe that Java applications are susceptible to memory leaks. In fact, Java programmers must also learn memory management. Chapter 6 teaches how the Java Virtual Machine1 manages memory, several antipatterns that involve memory misuse, and how to use tools and techniques to solve or prevent memory leaks. Ordering Information
Amazon.com
About the AuthorBruce A. Tate is an Internet architect who developed the bitter Java concept after seeing a set of customer problems repeated and decided to collect these stories and publish their solutions. He is the coauthor of Objects for OS/2. He lives in Austin, Texas. Chapter 1: Bitter Tales | Chapter 6: Bitter Memories Copyright 2002, Manning Publications Company. Reprinted with permission. 1 The terms "Java virtual machine" and "JVM" mean a virtual machine for the Java platform. | |||||
|
| ||||||||||||