Sun Java Solaris Communities My SDN Account Join SDN
 
Books & Authors

Bitter Java

 

Books Index



Chapter 1: Bitter Tales | Chapter 6: Bitter Memories

Book cover The JDC is pleased to present two chapters from Bitter Java by Bruce A. Tate, published by Manning Publications Company.

About the Book

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 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 Chapters

Chapter 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
Manning Publications
Barnes and Noble

About the Author

Bruce 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.


Reader Feedback
Excellent   Good   Fair   Poor  

If you have other comments or ideas for future technical content, please type them here:

Comments:

If you would like a reply to your comment, please submit your email address:
Note: We may not respond to all submitted comments.



Have a question about Java programming? Use Java Online Support.