Core Java, Volume II -- Advanced Features, 8/e (Paperback)
暫譯: 核心 Java, 第二卷 -- 進階特性, 第8版 (平裝)
Cay S. Horstmann, Gary Cornell
- 出版商: Prentice Hall
- 出版日期: 2008-04-18
- 定價: $1,500
- 售價: 2.7 折 $399
- 語言: 英文
- 頁數: 1056
- 裝訂: Paperback
- ISBN: 0132354799
- ISBN-13: 9780132354790
-
相關分類:
Java 程式語言
立即出貨(限量) (庫存=2)
買這商品的人也買了...
-
$3,500$3,325 -
$880$748 -
$880$695 -
$550$435 -
$950Assembly Language for Intel-Based Computers, 5/e (IE) (美國版ISBN:0132383101)
-
$990$891 -
$600$480 -
$720$569 -
$2,390$2,271 -
$650$514 -
$1,180$932 -
$750$593 -
$980$774 -
$490$417 -
$580$458 -
$620$527 -
$1,200$948 -
$480$374 -
$780$616 -
$880$695 -
$690$587 -
$750$638 -
$490$417 -
$450$351 -
$600$468
商品描述
Description
The revised edition of the classic Core Java™, Volume II–Advanced Features, covers advanced user-interface programming and the enterprise features of the Java SE 6 platform. Like Volume I (which covers the core language and library features), this volume has been updated for Java SE 6 and new coverage is highlighted throughout. All sample programs have been carefully crafted to illustrate the latest programming techniques, displaying best-practices solutions to the types of real-world problems professional developers encounter.
Volume II includes new sections on the StAX API, JDBC 4, compiler API, scripting framework, splash screen and tray APIs, and many other Java SE 6 enhancements. In this book, the authors focus on the more advanced features of the Java language, including complete coverage of
Streams and Files
Networking Database programming XML JNDI and LDAP Internationalization Advanced GUI components Java 2D and advanced AWT JavaBeans Security RMI and Web services Collections Annotations Native methodsFor thorough coverage of Java fundamentals–including interfaces and inner classes, GUI programming with Swing, exception handling, generics, collections, and concurrency–look for the eighth edition of Core Java™, Volume I–Fundamentals (ISBN: 978-0-13-235476-9).
Table of Contents
Preface xv
Acknowledgments xix
Chapter 1: Streams and Files 1
Streams 2
Text Input and Output 11
Reading and Writing Binary Data 23
ZIP Archives 32
Object Streams and Serialization 39
File Management 59
New I/O 65
Regular Expressions 75
Chapter 2: XML 87
Introducing XML 88
Parsing an XML Document 93
Validating XML Documents 105
Locating Information with XPath 129
Using Namespaces 136
Streaming Parsers 138
Generating XML Documents 146
XSL Transformations 157
Chapter 3: Networking 169
Connecting to a Server 170
Implementing Servers 177
Interruptible Sockets 184
Sending E-Mail 191
Making URL Connections 196
Chapter 4: Database Programming 217
The Design of JDBC 218
The Structured Query Language 222
JDBC Configuration 227
Executing SQL Statements 232
Query Execution 242
Scrollable and Updatable Result Sets 254
Row Sets 260
Metadata 263
Transactions 273
Connection Management in Web and Enterprise Applications 278
Introduction to LDAP 279
Chapter 5: Internationalization 297
Locales 298
Number Formats 303
Date and Time 310
Collation 318
Message Formatting 324
Text Files and Character Sets 328
Resource Bundles 329
A Complete Example 333
Chapter 6: Advanced Swing 351
Lists 352
Tables 370
Trees 405
Text Components 442
Progress Indicators 479
Component Organizers 492
Chapter 7: Advanced AWT 521
The Rendering Pipeline 522
Shapes 524
Areas 540
Strokes 542
Paint 550
Coordinate Transformations 552
Clipping 557
Transparency and Composition 559
Rendering Hints 568
Readers and Writers for Images 575
Image Manipulation 585
Printing 601
The Clipboard 635
Drag and Drop 652
Platform Integration 668
Chapter 8: Javabeans Components 685
Why Beans? 686
The Bean-Writing Process 688
Using Beans to Build an Application 690
Naming Patterns for Bean Properties and Events 698
Bean Property Types 701
BeanInfo Classes 710
Property Editors 713
Customizers 723
JavaBeans Persistence 732
Chapter 9: Security 755
Class Loaders 756
Bytecode Verification 767
Security Managers and Permissions 771
User Authentication 790
Digital Signatures 805
Code Signing 822
Encryption 828
Chapter 10: Distributed Objects 841
The Roles of Client and Server 842
Remote Method Calls 845
The RMI Programming Model 846
Parameters and Return Values in Remote Methods 856
Remote Object Activation 865
Web Services and JAX-WS 871
Chapter 11: Scripting, Compiling, and Annotation Processing 883
Scripting for the Java Platform 884
The Compiler API 895
Using Annotations 905
Annotation Syntax 911
Standard Annotations 915
Source-Level Annotation Processing 919
Bytecode Engineering 926
Chapter 12: Native Methods 935
Calling a C Function from a Java Program 936
Numeric Parameters and Return Values 942
String Parameters 944
Accessing Fields 950
Encoding Signatures 954
Calling Java Methods 956
Accessing Array Elements 962
Handling Errors 966
Using the Invocation API 970
A Complete Example: Accessing the Windows Registry 975
Index 991
商品描述(中文翻譯)
**描述**
經過修訂的經典書籍《Core Java™, Volume II–Advanced Features》涵蓋了 Java SE 6 平台的進階使用者介面程式設計和企業功能。與第一卷(涵蓋核心語言和庫功能)類似,本卷已針對 Java SE 6 進行更新,並在全書中突顯了新的內容。所有範例程式都經過精心設計,以展示最新的程式設計技術,並提供專業開發人員在實際問題中遇到的最佳解決方案。
第二卷包括有關 StAX API、JDBC 4、編譯器 API、腳本框架、啟動畫面和系統匣 API 以及許多其他 Java SE 6 增強功能的新章節。在本書中,作者專注於 Java 語言的更高級功能,包括對以下內容的完整覆蓋:
- Streams and Files
- Networking
- Database programming
- XML
- JNDI and LDAP
- Internationalization
- Advanced GUI components
- Java 2D and advanced AWT
- JavaBeans
- Security
- RMI and Web services
- Collections
- Annotations
- Native methods
如需全面了解 Java 基礎知識,包括介面和內部類、使用 Swing 進行 GUI 程式設計、例外處理、泛型、集合和併發,請參閱第八版《Core Java™, Volume I–Fundamentals》(ISBN: 978-0-13-235476-9)。
**目錄**
- 前言 xv
- 致謝 xix
**第 1 章:Streams and Files 1**
- Streams 2
- 文本輸入和輸出 11
- 讀取和寫入二進位資料 23
- ZIP 檔案 32
- 物件流和序列化 39
- 檔案管理 59
- 新 I/O 65
- 正規表達式 75
**第 2 章:XML 87**
- 介紹 XML 88
- 解析 XML 文件 93
- 驗證 XML 文件 105
- 使用 XPath 定位資訊 129
- 使用命名空間 136
- 流式解析器 138
- 生成 XML 文件 146
- XSL 轉換 157
**第 3 章:Networking 169**
- 連接到伺服器 170
- 實作伺服器 177
- 可中斷的套接字 184
- 發送電子郵件 191
- 建立 URL 連接 196
**第 4 章:Database Programming 217**
- JDBC 的設計 218
- 結構化查詢語言 222
- JDBC 配置 227
- 執行 SQL 語句 232
- 查詢執行 242
- 可滾動和可更新的結果集 254
- 行集 260
- 元資料 263
- 交易 273
- 網頁和企業應用中的連接管理 278
- LDAP 介紹 279
**第 5 章:Internationalization 297**
- 地區 298
- 數字格式 303
- 日期和時間 310
- 排序 318
- 訊息格式化 324
- 文本文件和字符集 328
- 資源包 329
- 完整範例 333
**第 6 章:Advanced Swing 351**
- 列表 352
- 表格 370
- 樹 405
- 文本元件 442
- 進度指示器 479
- 元件組織者 492
**第 7 章:Advanced AWT 521**
- 渲染管道 522
- 形狀 524
- 區域 540
- 笔劃 542
- 繪製 550
- 坐標變換 552
- 剪裁 557
- 透明度和合成 559
- 渲染提示 568
- 圖像的讀取器和寫入器 575
- 圖像處理 585
- 列印 601
- 剪貼簿 635
- 拖放 652
- 平台整合 668
**第 8 章:Javabeans Components 685**
- 為什麼使用 Beans? 686
- Bean 編寫過程 688
- 使用 Beans 建立應用程式 690
- Bean 屬性和事件的命名模式 698
- Bean 屬性類型 701
- BeanInfo 類 710
- 屬性編輯器 713
- 自定義器 723
- JavaBeans 持久性 732
**第 9 章:Security 755**
- 類加載器 756
- 位元碼驗證 767
- 安全管理員和權限 771
- 使用者身份驗證 790
- 數位簽章 805