Java 2 Developer Exam Cram 2 (Exam CX-310-252a and CX-310-027)
暫譯: Java 2 開發人員考試備考 2(考試 CX-310-252a 和 CX-310-027)

Alain Trottier, Ed Tittel

  • 出版商: QUE
  • 出版日期: 2003-08-30
  • 售價: $1,540
  • 貴賓價: 9.5$1,463
  • 語言: 英文
  • 頁數: 480
  • 裝訂: Paperback
  • ISBN: 078972992X
  • ISBN-13: 9780789729927
  • 相關分類: Java 程式語言
  • 已過版

買這商品的人也買了...

商品描述

Java 2 Developer Exam Cram 2 is the first Exam Cram to cover both parts of this exam - the SCJD Programming Exam and the SCJD Essay Exam. Together, the two SCJD exams measure the ability to develop complex, production-level applications. The author develops a programming assignment and maps the objectives for the essay exam. Readers preparing for this exam find the best-selling Exam Cram 2 series to be the smartest, most efficient way to become certified. CramSession, the #1 IT Certification website for materials and resources on certification, gives the Exam Cram 2 series its seal of approval for quality, and promotes the series on its website. Exam Cram 2 also features PrepLogic Practice Tests!

Table of Contents

Introduction.


Self-Assessment.



1. Certification Steps and Submission Grading.

Introduction. Software Project Management.

Download the Assignment. Concept Development. Planning and Scheduling. Requirements Definition. Functional Design. Detail Design. Programming. Testing. Installation and Acceptance. Documentation. Packaging and Submission. Software Maintenance.

Submission Grading. Need to Know More?



2. Preparing Your Environment with J2SE 1.4.

Java Editions and Versions. Java Software Development Kit. Installation Instructions.

Windows Installation Instructions. Solaris Installation Instructions. Linux Installation Instructions.

Need to Know More?



3. Objectives and Deliverables.

Objectives.

GUI Design. Database. Networking. Database Transparency. Design Choices.

Deliverables.

Source Code Files. The database.bin Database File. Documentation. Deprecated Classes and Other Items.

Need to Know More?



4. Code Clarity.

General Principles. Naming Conventions. Code Conventions.

Statements.

Code Structure.

Package Organization. File Organization.

Code Comments.

Javadoc.

Need to Know More?



5. Documentation and Javadoc Comments.

Javadoc Comments. The README.TXT File.

README FILE. TABLE OF CONTENTS. 1. Quick Start. 2. Introduction. 3. SDK Version and Platform. 4. Execution Instructions. 5. Location of Data File. 6. Design Choices Document. 7. File Listing. 8. User Documentation Web Pages.

Design Choices Document.

Super Bowl Reservation System Table of Contents. 1. Design Decisions. 2. Design Patterns Used.

User Help.

Javadoc Code Comments.

Need to Know More?



6. Application Analysis and Design.

Project Management.

Managing the Software Development Life Cycle. The Software Management Project Plan.

Systems Analysis.

Requirements. Design.

Document Format. Need to Know More?



7. Database.

Locking Mechanism. Database Factory. The DatabaseInterface Class. The Database Class. SQL.

The SELECT Statement. The WHERE Clause. The ORDER BY Clause. The INSERT INTO Statement. The UPDATE Statement. The DELETE Statement.

Database Vendors. Need to Know More?



8. What's New in J2SE 1.4.

Logging. Java XML Functionality. Assertions. J2SE Collections.

The LinkedHashMap Class. The IdentityHashMap Class.

Regular Expressions. Need to Know More?



9. Interfaces and Abstract Classes.

Overview of Interfaces. Abstract Classes. Interfaces.

Interfaces Versus Abstract Classes. An Interface Combined with an Abstract Class.

Need to Know More?



10. Threads and Concurrent Programming.

Understanding Threads. Synchronizing Threads. Scheduling Threads. Need to Know More?



11. Networking with NIO.

Networking Overview. Building a Browser.

Interrogating a URL.

Using the URL Class. Working with Sockets. Building a Multithreaded Server with Sockets. Building a Multithreaded Web Server with Sockets. Need to Know More?



12. Remote Method Invocation.

Using RMI.

Building the RMI Application. Define the Value Object. Define Remote Object Methods. Write the Remote Interface. Write the Concrete Remote Class. Write the RMI Server. Write the Client That Invokes the Remote Object. Compile the Classes. Run the RMI Interface Compiler. Run the Application.

The java.rmi.Naming Class. Need to Know More?



13. The GUI.

The GUI.

Use Explicit Imports. Class Header. Application Main Method. Class Constructor. Application Initialization. Button Click Handler. Search Inner Class. Menu Handler.

Need to Know More?



14. The Swing Components and Event Handling.

Swing Overview. Design Pattern Architecture. Look and Feel. Frames, Windows, and Panes. Dialog Boxes, Pop-Ups, and Choosers. Layout Managers. Buttons and Labels. Progress Bars and Sliders. Menus and Toolbars. Lists and Combo Boxes. Text Components. Event Handling. Need to Know More?



15. The JTable Component.

MVC in the JTable. Creating a Simple JTable. Table Model. JTable Techniques.

Setting Column Header Tool Tips. Using a Scrollable JTable Component. Handling Cell Selections. Changing the Name of a Column. Getting and Setting a Cell Value.

Need to Know More?



16. Design Patterns.

Design Patterns Defined.

Design Pattern Elements.

Patterns in Your Solution.

Decorator. Value Object. Data Access Object. Business Delegate. Model-View-Controller (MVC). Front Controller.

Need to Know More?



17. Exception Handling.

Errors in Software. Testing. Managing Bugs. The Throwable Class and Its Subclasses.

Errors. Exceptions. Custom Throwable Subclass.

Handling Errors and Exceptions.

The try-catch-finally Construction.

Exception Chaining. User Messages. Need to Know More?



18. Packaging, Testing, and Submitting the Assignment Application.

File Structure of Your Project Submission. JAR File. Building with Ant. Testing.

Cygwin. JUnit. Test Plan.

Submitting the Assignment. Need to Know More?



19. The Essay Exam.

The Exam's Purposes. The Questions. Preparation. The Sample Essay Exam.

Exam Prep Questions. Answers to the Exam Prep Questions.

Need to Know More?



Appendix A: UML Glance Card.

UML.

Standard Graphical Diagrams.

Need to Know More?



Appendix B: Documentation Standards.

Requirements Definition. Detail Design. Unit Testing. Review the Contents Before Submission. Design Choices Document Guide.

Need to Know More?



Appendix C: Code Conventions.

Reasons for Code Conventions. Code Conventions of Java Programs.

Comments and Formatting.

Convention Preferences.

Names. Indenting.

Need to Know More?



Appendix D: What's on the CD-ROM.

An Exclusive Electronic Version of Text.



Glossary.


Index.

商品描述(中文翻譯)

《Java 2 開發者考試速成 2》是第一本涵蓋此考試兩個部分的速成書——SCJD 程式設計考試和 SCJD 論文考試。這兩個 SCJD 考試共同衡量開發複雜的生產級應用程式的能力。作者設計了一個程式設計作業並映射論文考試的目標。準備參加此考試的讀者發現,暢銷的速成 2 系列是獲得認證的最聰明、最有效的方法。CramSession,提供認證材料和資源的第一 IT 認證網站,對速成 2 系列的質量給予了認可,並在其網站上推廣該系列。速成 2 還提供 PrepLogic 練習測試!

目錄

引言。

自我評估。

1. 認證步驟與提交評分。

引言。軟體專案管理。

下載作業。概念開發。規劃與排程。需求定義。功能設計。詳細設計。程式設計。測試。安裝與驗收。文件編寫。包裝與提交。軟體維護。

提交評分。需要了解更多嗎?

2. 使用 J2SE 1.4 準備您的環境。

Java 版本與版本。Java 軟體開發工具包。安裝說明。

Windows 安裝說明。Solaris 安裝說明。Linux 安裝說明。

需要了解更多嗎?

3. 目標與交付物。

目標。

GUI 設計。資料庫。網路。資料庫透明性。設計選擇。

交付物。

源代碼檔案。database.bin 資料庫檔案。文件。已棄用的類別及其他項目。

需要了解更多嗎?

4. 代碼清晰度。

一般原則。命名慣例。代碼慣例。

語句。

代碼結構。

包組織。檔案組織。

代碼註解。

Javadoc。

需要了解更多嗎?

5. 文件與 Javadoc 註解。

Javadoc 註解。README.TXT 檔案。

README 檔案。目錄。1. 快速開始。2. 引言。3. SDK 版本與平台。4. 執行說明。5. 資料檔案位置。6. 設計選擇文件。7. 檔案清單。8. 使用者文件網頁。

設計選擇文件。

超級碗預訂系統目錄。1. 設計決策。2. 使用的設計模式。

使用者幫助。

Javadoc 代碼註解。

需要了解更多嗎?

6. 應用分析與設計。

專案管理。

管理軟體開發生命週期。軟體管理專案計畫。

系統分析。

需求。設計。

文件格式。需要了解更多嗎?

7. 資料庫。

鎖定機制。資料庫工廠。DatabaseInterface 類別。Database 類別。SQL。

SELECT 語句。WHERE 子句。ORDER BY 子句。INSERT INTO 語句。UPDATE 語句。DELETE 語句。

資料庫供應商。需要了解更多嗎?

8. J2SE 1.4 的新功能。

日誌記錄。Java XML 功能。斷言。J2SE 集合。

LinkedHashMap 類別。IdentityHashMap 類別。

正則表達式。需要了解更多嗎?

9. 介面與抽象類別。

介面的概述。抽象類別。介面。

介面與抽象類別的比較。介面與抽象類別的結合。

需要了解更多嗎?

10. 執行緒與併發程式設計。

理解執行緒。同步執行緒。排程執行緒。需要了解更多嗎?

11. 使用 NIO 進行網路編程。

網路概述。建立瀏覽器。

查詢 URL。

使用 URL 類別。使用套接字。使用套接字建立多執行緒伺服器。使用套接字建立多執行緒網頁伺服器。需要了解更多嗎?

12. 遠端方法調用。

使用 RMI。

建立 RMI 應用程式。定義值物件。定義遠端物件方法。撰寫遠端介面。撰寫具體的遠端類別。撰寫 RMI 伺服器。撰寫調用遠端物件的客戶端。編譯類別。運行 RMI 介面編譯器。運行應用程式。

java.rmi.Naming 類別。需要了解更多嗎?

13. GUI。

GUI。

使用明確的導入。類別標頭。應用程式主方法。類別建構子。應用程式初始化。按鈕點擊處理器。搜尋內部類別。選單處理器。

需要了解更多嗎?

14. Swing 元件與事件處理。

Swing 概述。設計模式架構。外觀與感覺。框架、視窗與面板。對話框、彈出視窗與選擇器。佈局管理器。按鈕與標籤。進度條與滑桿。選單與工具列。列表與組合框。文字元件。事件處理。需要了解更多嗎?

15. JTable 元件。

JTable 中的 MVC。創建簡單的 JTable。表格模型。JTable 技巧。

設置列標題工具提示。使用可滾動的 JTable 元件。處理單元格選擇。更改列的名稱。獲取與設置單元格值。

需要了解更多嗎?

16. 設計模式。

設計模式定義。

設計模式元素。

解決方案中的模式。

裝飾者。值物件。資料存取物件。業務代理。模型-視圖-控制器 (MVC)。前端控制器。

需要了解更多嗎?

17. 異常處理。

軟體中的錯誤。測試。管理錯誤。Throwable 類別及其子類別。

錯誤。異常。自定義 Throwable 子類別。

處理錯誤與異常。

try-catch-finally 結構。

異常鏈接。用戶消息。需要了解更多嗎?

18. 包裝、測試與提交作業應用程式。

專案提交的檔案結構。JAR 檔案。使用 Ant 建構。測試。

Cygwin。JUnit。測試計畫。

提交作業。需要了解更多嗎?

19. 論文考試。

考試的目的。問題。準備。範例論文考試。

考試準備問題。考試準備問題的答案。

需要了解更多嗎?

附錄 A:UML 瞥見卡。

UML。

標準圖形圖表。

需要了解更多嗎?

附錄 B:文件標準。

需求定義。詳細設計。單元測試。提交前檢查內容。設計選擇文件指南。

需要了解更多嗎?

附錄 C:代碼慣例。

代碼慣例的原因。Java 程式的代碼慣例。

註解與格式。

慣例偏好。

名稱。縮排。

需要了解更多嗎?

附錄 D:CD-ROM 上的內容。

獨家電子版文本。

詞彙表。

索引。