Bitter Java (Paperback)

Bruce Tate

  • 出版商: Manning
  • 售價: $1,510
  • 貴賓價: 9.5$1,435
  • 語言: 英文
  • 頁數: 368
  • 裝訂: Paperback
  • ISBN: 193011043X
  • ISBN-13: 9781930110434
  • 相關分類: Java 程式語言
  • 下單後立即進貨 (約2~4週)




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.

Table of Contents

Part 1 The basics 1

1 Bitter tales 3
2 The bitter landscape 23

Part 2 Server-side Java antipatterns 51

3 Bitter servlets 53
4 Bitter JSPs 81
5 Bitter cache management 107
6 Bitter memories 143
7 Bitter connections and coupling 171
8 Bitter beans 207
Part 3 The big picture 249
9 Bitter hygiene 251
10 Bitter scalability 283
11 Sweet parting thoughts 311
A Cross-references of antipatterns 319   
bibliography 329
index 333