買這商品的人也買了...
-
$1,880$1,786 -
$480$379 -
$980$774 -
$580$458 -
$792Objective-C Programming: The Big Nerd Ranch Guide (Paperback)
-
$450$356 -
$490$387 -
$650$514 -
$480$379 -
$1,130$893 -
$880$686 -
$880$695 -
$360$284 -
$320$253 -
$880$695 -
$550$429 -
$940$700 -
$320$250 -
$490$382 -
$480$379 -
$480$379 -
$860$731 -
$320$250 -
$480$408 -
$560$442
商品描述
Beginning Java 7 guides you through this language and a huge assortment of platform APIs according to the following table of contents:
Chapter 1: Getting Started with Java
Chapter 2: Discovering Classes and Objects
Chapter 3: Exploring Advanced Language Features
Chapter 4: Touring Language APIs
Chapter 5: Collecting Objects
Chapter 6: Touring Additional Utility APIs
Chapter 7: Creating and Enriching Graphical User Interfaces
Chapter 8: Interacting with Filesystems
Chapter 9: Interacting with Networks and Databases
Chapter 10: Parsing, Creating, and Transforming XML Documents
Chapter 11: Working with Web Services
Chapter 12: Java 7 Meets Android
Appendix A: Solutions to Exercises
Appendix B: Scripting API and Dynamically Typed Language Support
Appendix C: Odds and Ends
Appendix D: Applications Gallery
Chapter 1 introduces you to Java and begins to cover the Java language by focusing on fundamental concepts such as comments, identifiers, variables, expressions, and statements.
Chapter 2 continues to explore this language by presenting all of its features for working with classes and objects. You learn about features related to class declaration and object creation, encapsulation, information hiding, inheritance, polymorphism, interfaces, and garbage collection.
Chapter 3 focuses on the more advanced language features related to nested classes, packages, static imports, exceptions, assertions, annotations, generics, and enums. Additional chapters will introduce you to the few features not covered in Chapters 1 through 3.
Chapter 4 largely moves away from covering language features (although it does introduce class literals and strictfp) while focusing on language-oriented APIs. You learn about Math, StrictMath, Package, Primitive Type Wrapper Classes, Reference, Reflection, String, StringBuffer and StringBuilder, Threading, BigDecimal, and BigInteger in this chapter.
Chapter 5 begins to explore Java's utility APIs by focusing largely on the Collections Framework. However, it also discusses legacy collection-oriented APIs and how to create your own collections.
Chapter 6 continues to focus on utility APIs by presenting the concurrency utilities along with the Objects and Random classes.
Chapter 7 moves you away from the command-line user interfaces that appear in previous chapters and toward graphical user interfaces. You first learn about the Abstract Window Toolkit foundation, and then explore the Java Foundation Classes in terms of Swing and Java 2D. Appendix C explores Accessibility and Drag and Drop.
Chapter 8 explores filesystem-oriented I/O in terms of the File, RandomAccessFile, stream, and writer/reader classes. New I/O is covered in Appendix C.
Chapter 9 introduces you to Java's network APIs, such as sockets. It also introduces you to the JDBC API for interacting with databases.
Chapter 10 dives into Java's XML support by first presenting an introduction to XML (including DTDs and schemas). It next explores the SAX, DOM, StAX, XPath, and XSLT APIs. It even briefly touches on the Validation API. While exploring XPath, you encounter namespace contexts, extension functions and function resolvers, and variables and variable resolvers.
Chapter 11 introduces you to Java's support for SOAP-based and RESTful web services. In addition to providing you with the basics of these web service categories, Chapter 11 presents some advanced topics, such as working with the SAAJ API to communicate with a SOAP-based web service without having to rely on JAX-WS. You will appreciate having learned about XML in Chapter 10 before diving into this chapter.
Chapter 12 helps you put to use some of the knowledge you've gathered in previous chapters by showing you how to use Java to write an Android app's source code. This chapter introduces you to Android, discusses its architecture, shows you how to install necessary tools, and develops a simple app.
Appendix A presents the solutions to the programming exercises that appear near the end of Chapters 1 through 12.
Appendix B introduces you to Java's Scripting API along with Java 7's support for dynamically typed languages.
Appendix C introduces you to additional APIs and architecture topics: Accessibility, ByteArrayOutputStream and ByteArrayInputStream, classloaders, Console, Desktop, Drag and Drop, Dynamic Layout, Extension Mechanism and ServiceLoader, File Partition-Space, File Permissions, Formatter, Image I/O, Internationalization, Java Native Interface, NetworkInterface and InterfaceAddress, New I/O (including NIO.2), PipedOutputStream and PipedInputStream, Preferences, Scanner, Security, Smart Card, Splash Screen, Stream Tokenizer, StringTokenizer, SwingWorker, System Tray, Timer and TimerTask, Tools and the Compiler API, Translucent and Shaped Window, and XML Digital Signature.
Appendix D presents a gallery of significant applications that demonstrate various aspects of Java.
Unfortunately, there are limits to how much knowledge can be crammed into a print book. For this reason, Appendixes A, B, C, and D are not included in this book's pages. Instead, these appendixes are freely distributed as PDF files. Appendixes A and B are bundled with the book's associated code file at the Apress website (http://www.apress.com).
Appendixes C and D are bundled with their respective code files on my TutorTutor.ca website at http://tutortutor.ca/cgi-bin/makepage.cgi?/books/bj7. Appendixes C and D are "living documents" in that I'll occasionally add new material to them. For example, I plan to expand Appendix C by also covering Java Naming and Directory Interface, Java Sound, Remote Method Invocation and Corba, Robot, Runtime and Process, Swing Timer, and many other APIs/architecture topics (including a complete tour of Swing components). Of course, it will take time to write about these topics so don't expect all of them to appear at once -- they will slowly emerge in coming months (although smaller topics such as Robot will emerge much faster).
What you’ll learn
- The entire Java language, including Java 7-specific features such as switch on string, try-with-resources, final rethrow, multicatch, and SafeVarargs
- A huge assortment of Java 7 APIs, beginning with those APIs oriented toward the language itself, and including Java 7-specific APIs such as the Fork/Join Framework, Objects, JLayer, and NIO.2
- Various Java 7 tools, starting with the javac compiler and java application launcher
- How to create user interfaces, working with web services, and a whole lot more
- The basics of getting started with Android app development
Who this book is for
This book targets the following groups of developers:
- Newcomers, skilled (to some degree) in other programming languages but with no previous exposure to Java
- Intermediate Java developers, skilled in the fundamentals of Java prior to Java 7 and looking to increase their understanding of Java 7 language/API changes
- All developers looking beyond standard Java, who want to leverage Java 7 to create mobile apps via Android
- Even advanced Java developers may find a few items of interest
Table of Contents
- Getting Started with Java
- Discovering Classes and Objects
- Exploring Advanced Language Features
- Touring Language and Utility APIs
- Collecting Objects
- Touring Additional Utility APIs
- Creating and Enriching Graphical User Interfaces
- Interacting with Filesystems
- Interacting with Networks and Databases
- Parsing, Creating, and Transforming XML Documents
- Working with Web Services
- Java 7 Meets Android
商品描述(中文翻譯)
《Beginning Java 7》將引導您了解這門語言及其大量的平台 API,內容如下:
第 1 章:Java 入門
第 2 章:探索類別與物件
第 3 章:深入探討進階語言特性
第 4 章:語言 API 總覽
第 5 章:物件收集
第 6 章:額外的實用 API 總覽
第 7 章:創建與豐富圖形使用者介面
第 8 章:與檔案系統互動
第 9 章:與網路和資料庫互動
第 10 章:解析、創建與轉換 XML 文件
第 11 章:使用網路服務
第 12 章:Java 7 與 Android 的結合
附錄 A:習題解答
附錄 B:腳本 API 與動態類型語言支援
附錄 C:雜項
附錄 D:應用程式畫廊
第 1 章介紹 Java,並開始涵蓋 Java 語言,重點在於基本概念,如註解、識別符、變數、表達式和語句。
第 2 章繼續探索這門語言,介紹所有與類別和物件相關的特性。您將學習類別宣告和物件創建、封裝、資訊隱藏、繼承、多型、介面和垃圾回收等特性。
第 3 章專注於與巢狀類別、套件、靜態匯入、例外、斷言、註解、泛型和列舉相關的進階語言特性。後續章節將介紹第 1 章至第 3 章未涵蓋的少數特性。
第 4 章主要不再涵蓋語言特性(雖然介紹了類別字面量和 strictfp),而是專注於語言導向的 API。您將在本章學習 Math、StrictMath、Package、原始類型包裝類別、Reference、Reflection、String、StringBuffer 和 StringBuilder、執行緒、BigDecimal 和 BigInteger。
第 5 章開始探索 Java 的實用 API,主要集中於集合框架。然而,它也討論了舊版集合導向的 API 以及如何創建自己的集合。
第 6 章繼續專注於實用 API,介紹併發工具以及 Objects 和 Random 類別。
第 7 章將您從前幾章出現的命令列使用者介面轉向圖形使用者介面。您首先學習 Abstract Window Toolkit 的基礎,然後從 Swing 和 Java 2D 的角度探索 Java Foundation Classes。附錄 C 探索無障礙性和拖放功能。
第 8 章從 File、RandomAccessFile、流和寫入/讀取類別的角度探索檔案系統導向的 I/O。新 I/O 在附錄 C 中涵蓋。
第 9 章介紹 Java 的網路 API,例如套接字。它還介紹了 JDBC API 用於與資料庫互動。
第 10 章深入探討 Java 的 XML 支援,首先介紹 XML(包括 DTD 和架構)。接著探索 SAX、DOM、StAX、XPath 和 XSLT API。它甚至簡要觸及驗證 API。在探索 XPath 時,您會遇到命名空間上下文、擴展函數和函數解析器,以及變數和變數解析器。
第 11 章介紹 Java 對基於 SOAP 和 RESTful 網路服務的支援。除了提供這些網路服務類別的基礎知識外,第 11 章還介紹了一些進階主題,例如使用 SAAJ API 與基於 SOAP 的網路服務進行通訊,而無需依賴 JAX-WS。在深入本章之前,您會感謝在第 10 章學習 XML 的知識。
第 12 章幫助您運用在前幾章中獲得的知識,展示如何使用 Java 編寫 Android 應用程式的源代碼。本章介紹 Android,討論其架構,展示如何安裝必要的工具,並開發一個簡單的應用程式。
附錄 A 提供第 1 章至第 12 章末尾出現的程式設計習題的解答。
附錄 B 介紹 Java 的腳本 API 以及 Java 7 對動態類型語言的支援。
附錄 C 介紹額外的 API 和架構主題:無障礙性、ByteArrayOutputStream 和 ByteArrayInputStream、類別載入器、Console、Desktop、拖放、動態佈局、擴展機制和 ServiceLoader、檔案分區空間、檔案權限、Formatter、影像 I/O、國際化、Java Native Interface、NetworkInterface 和 InterfaceAddress、新 I/O(包括 NIO.2)、PipedOutputStream 和 PipedInputStream、Preferences、Scanner、安全性、智慧卡、啟動畫面、流標記器、字串標記器、SwingWorker、系統匣、計時器和 TimerTask、工具和編譯器 API、半透明和形狀窗口,以及 XML 數位簽章。
附錄 D 提供了一個展示 Java 各種特性的重大應用程式畫廊。
不幸的是,印刷書籍的知識容量是有限的。因此,附錄 A、B、C 和 D 並未包含在本書的頁面中。相反,這些附錄作為 PDF 文件免費發佈。附錄 A 和 B 與本書的相關程式碼文件一起在 Apress 網站(http://www.apress.com)提供。
附錄 C 和 D 與其各自的程式碼文件一起在我的 TutorTutor.ca 網站上提供,網址為 http://tutortutor.ca/cgi-bin/makepage.cgi?/books/bj7。附錄 C 和 D 是「活文件」,我會不定期添加新材料。例如,我計劃擴展附錄 C,還涵蓋 Java Naming and Directory Interface、Java Sound、Remote Method Invocation 和 Corba、Robot、Runtime 和 Process、Swing Timer 以及許多其他 API/架構主題(包括對 Swing 元件的完整導覽)。當然,撰寫這些主題需要時間,因此不要期望所有內容會同時出現——它們將在接下來的幾個月中慢慢出現(雖然像 Robot 這樣的小主題會更快出現)。
您將學到的內容:
- 整個 Java 語言,包括 Java 7 特有的特性,如字串的 switch、try-with-resources、final rethrow、多重捕獲和 SafeVarargs
- 大量的 Java 7 API,從語言本身導向的 API 開始,包括 Java 7 特有的 API,如 Fork/Join Framework、Objects、JLayer 和 NIO.2
- 各種 Java 7 工具,從 javac 編譯器和 java 應用程式啟動器開始
- 如何創建使用者介面、與網路服務互動,以及更多內容
- Android 應用程式開發的基礎知識
本書的目標讀者:
本書針對以下開發者群體:
- 新手,對其他程式語言有一定程度的熟悉,但對 Java 沒有先前的接觸
- 中階 Java 開發者,熟悉 Java 7 之前的基本知識,並希望增進對 Java 7 語言/API 變更的理解
- 所有希望超越標準 Java 的開發者,想利用 Java 7 創建 Android 的行動應用程式
- 甚至進階的 Java 開發者也可能會發現一些有趣的內容
目錄:
1. Java 入門
2. 探索類別與物件
3. 深入探討進階語言特性
4. 語言與實用 API 總覽
5. 物件收集
6. 額外的實用 API 總覽
7. 創建與豐富圖形使用者介面
8. 與檔案系統互動
9. 與網路和資料庫互動
10. 解析、創建與轉換 XML 文件
11. 使用網路服務
12. Java 7 與 Android 的結合