買這商品的人也買了...
-
$735Object-Oriented Analysis and Design With Applications, 2/e
-
$640$608 -
$2,660$2,527 -
$840OLE DB Consumer Templates: A Programmer's Guide (Paperback)
-
$1,880$1,786 -
$1,880$1,786 -
$1,029Operating System Concepts, 6/e
-
$970Introduction to Algorithms, 2/e
-
$2,450$2,328 -
$1,880$1,786 -
$950Artificial Intelligence: A Guide to Intelligent Systems
-
$1,485Java Message Service API Tutorial and Reference: Messaging for the J2EE Platform (Paperback)
-
$2,890$2,746 -
$1,740$1,653 -
$2,450$2,328 -
$1,090$1,068 -
$2,560$2,432 -
$2,390$2,271 -
$380$300 -
$613Web Service Security: Scenarios, Patterns, and Implementation Guidance for Web Services Enhancements (WSE) 3.0
-
$1,140Java Generics and Collections
-
$420$332 -
$580$493 -
$450$356 -
$580$493
相關主題
商品描述
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 - 4 Bitter JSPs 81
商品描述(中文翻譯)
已知大多數軟體專案都會失敗,從常見的失敗中汲取重要的教訓是《Bitter Java》的目標。重複使用設計模式並不足以確保成功:模式就像危險地形的部分地圖。它們能提供幫助,但無法防止你迷路。《Bitter Java》教你如何辨識自己何時迷路,以及如何回到正確的道路。它透過程式碼範例說明 Java 程式設計中的常見陷阱,然後重構程式碼並解釋為什麼新的解決方案是安全的。
本書系統性地記錄了常見的伺服器端 Java 程式設計錯誤、其原因及解決方案。它涵蓋了基本 Java 和 J2EE 概念的反模式,例如 Servlets、JSPs、EJBs、企業連接模型和可擴展性。如果你是一位中級 Java 程式設計師、分析師或架構師,渴望避免他人的痛苦經歷,那麼這本書就是為你而寫的。
在學習本書中的反模式後,例如:
- 來回傳遞 (Round-tripping)
- 魔法 Servlet (The magic servlet)
- 無快取的牛 (The cacheless cow)
- 性能衝突 (Performance thrashing)
你將站在那些在你之前失敗者的肩膀上。
**目錄**
**第一部分 基礎 1**
1. 苦澀的故事 3
2. 苦澀的景觀 23
**第二部分 伺服器端 Java 反模式 51**
3. 苦澀的 Servlets 53
4. 苦澀的 JSPs 81
5. 苦澀的快取管理 107
6. 苦澀的記憶 143
7. 苦澀的連接與耦合 171
8. 苦澀的 Beans 207
**第三部分 大局 249**
9. 苦澀的衛生 251
10. 苦澀的可擴展性 283
11. 甜蜜的告別思考 311
A. 反模式的交叉參考 319
參考書目 329
索引 333