買這商品的人也買了...
-
$680$537 -
$680$537 -
$990Integrating Linux and Windows (Paperback)
-
$420$332 -
$680$537 -
$1,029Operating System Concepts, 6/e (Windows XP Update)
-
$560$476 -
$650$514 -
$590$466 -
$690$538 -
$780$616 -
$650$514 -
$720$569 -
$880$792 -
$149$149 -
$620$490 -
$580$458 -
$750$638 -
$490$382 -
$690$538 -
$839The C# Programming Language (Hardcover)
-
$560$476 -
$990$842 -
$1,080CMMI: Guidelines for Process Integration and Product Improvement, 2/e
-
$680$537
商品描述
Description:
Exploring Java introduces the basics of Java, the hot new object-oriented programming language for networked applications from Sun Microsystems. Exploring Java enables programmers to quickly get up to speed writing Java applets, programs executed within web browsers.
Even before the first release of Java, companies from Oracle to Netscape and Microsoft licensed Java to integrate with their Internet products. What makes this new language so important? It's truly portable. The same code runs on any machine that provides a Java interpreter, whether Windows 95, Windows NT, the Macintosh, or any flavor of UNIX. And, potentially, Java is designed to be as fast as programs written in C and C++.
The ability to create animated World Wide Web pages has also sparked the rush to Java. But, the story does not end with the Web. Sophisticated large applications, such as spreadsheets or word processors, can also be written with Java. An early example is Sun's self-extensible web browser, HotJava.
With a practical, hands-on approach characteristic of O'Reilly's Nutshell Handbooks(R), Exploring Java shows you how to write dynamic web pages. But that's only the beginning. This book also shows you how to write content and protocol handlers, networking programs, and other standalone applications.
Exploring Java is the first book in a new Java documentation series from O'Reilly that will keep pace with the rapid Java developments. In this book, you will learn about:
- History and principles of Java
- How to write simple applets
- How to integrate applets into the World Wide Web
- Java Class Libraries
- Using threads
- Using arrays
- Network programming
- Content and protocol handling
- Using the Abstract Windowing Toolkit (AWT)
- Writing a security manager
Table of Contents:
Chapter Preface xi
Chapter 1 Yet
Another Language? 1
Enter Java 2
A Virtual Machine 4
Java Compared 6
Safety of Design 8
Safety of Implementation 14
Application and User Level Security 19
Java and the World Wide Web 21
Java as a General Application Language 25
Availability 25
Chapter 2
A First Applet 27
Hello Web! 27
HelloWeb! II: The Sequel 36
HelloWeb! III: The Button Strikes! 43
HelloWeb! IV: Netscape's Revenge 55
Chapter 3
Tools of the Trade 65
The Java Interpreter 65
The Class Path 68
The Java Compiler 69
The Netscape Alternative 71
The Applet Tag 72
Chapter 4
The Java Language 79
Text Encoding 79
Comments 80
Types 81
Statements and Expressions 87
Exceptions 95
Arrays 103
Chapter 5
Objects in Java 111
Classes 112
Methods 117
Object Creation 125
Object Destruction 129
Subclassing and Inheritance 130
Packages and Compilation Units 142
Variable and Method Visibility 145
Interfaces 148
The Object and Class Classes 153
Chapter 6
Threads 159
Introducing Threads 159
Threading Applets 166
Synchronization 169
Scheduling and Priority 178
Chapter 7
Basic Utility Classes 183
Strings 184
Math Utilities 193
Dates 198
Vectors and Hashtables 200
Properties 206
The Security Manager 208
Chapter 8
Input/Output Facilities 213
Streams 213
Files 225
Chapter 9
Network Programming 235
Sockets 236
Datagram Sockets 248
Working with URLs 253
Web Browsers and Handlers 257
Writing a Content Handler 259
Writing a Protocol Handler 267
Chapter 10
The Abstract Windowing Toolkit 279
GUI Concepts in Java 281
Applets 292
Using Components and Containers 295
Text Components 300
Menus and Choices 302
Checkboxes 305
Using a Canvas 308
Using Scrollbars 310
Building a New Component 314
Dialogs 316
Layout Managers 321
Chapter 11
Drawing and Images 331
Basic Drawing 331
Fonts 337
Images 341
Drawing Techniques 344
Image Processing 353
Working with Audio 373
Glossary 375
Index 391
商品描述(中文翻譯)
描述:
《探索 Java》介紹了 Java 的基本概念,這是一種來自 Sun Microsystems 的新興物件導向程式語言,專為網路應用程式而設計。《探索 Java》使程式設計師能夠快速上手撰寫 Java 小應用程式,這些程式在網頁瀏覽器中執行。
在 Java 首次發布之前,從 Oracle 到 Netscape 和 Microsoft 的公司已經授權使用 Java,以整合到他們的網際網路產品中。這種新語言為何如此重要?因為它真正具備可攜性。相同的程式碼可以在任何提供 Java 解譯器的機器上運行,無論是 Windows 95、Windows NT、Macintosh,或任何版本的 UNIX。而且,Java 的設計目標是能夠與 C 和 C++ 撰寫的程式一樣快速。
創建動畫的全球網頁的能力也促使了對 Java 的熱潮。但這個故事並不僅限於網路。複雜的大型應用程式,例如電子表格或文字處理器,也可以用 Java 撰寫。一個早期的例子是 Sun 的自我擴展網頁瀏覽器 HotJava。
《探索 Java》以 O'Reilly 的 Nutshell Handbooks(R) 特有的實用、動手操作的方式,教你如何撰寫動態網頁。但這僅僅是個開始。本書還教你如何撰寫內容和協定處理器、網路程式及其他獨立應用程式。
《探索 Java》是 O'Reilly 新的 Java 文檔系列中的第一本書,將與快速發展的 Java 保持同步。在本書中,你將學到:
- Java 的歷史和原則
- 如何撰寫簡單的小應用程式
- 如何將小應用程式整合到全球網路中
- Java 類別庫
- 使用執行緒
- 使用陣列
- 網路程式設計
- 內容和協定處理
- 使用抽象視窗工具包 (AWT)
- 撰寫安全管理器
目錄:
章節前言 xi
第 1 章 又一種語言? 1
進入 Java 2
虛擬機 4
Java 比較 6
設計的安全性 8
實作的安全性 14
應用程式和使用者層級的安全性 19
Java 與全球網路 21
Java 作為通用應用程式語言 25
可用性 25
第 2 章 第一個小應用程式 27
Hello Web! 27
HelloWeb! II: 續集 36
HelloWeb! III: 按鈕出擊! 43
HelloWeb! IV: Netscape 的復仇 55
第 3 章 工具 65
Java 解譯器 65
類別路徑 68
Java 編譯器 69
Netscape 替代方案 71
小應用程式標籤 72
第 4 章 Java 語言 79
文本編碼 79
註解 80
類型 81
語句和表達式 87
異常 95
陣列 103
第 5 章 Java 中的物件 111
類別 112
方法 117
物件創建 125
物件銷毀 129
子類化和繼承 130
套件和編譯單元 142
變數和方法的可見性 145
介面 148
物件和類別類 153
第 6 章 執行緒 159
介紹執行緒 159
執行緒小應用程式 166
同步 169
排程和優先權 178
第 7 章 基本工具類別 183
字串 184
數學工具 193
日期 198
向量和雜湊表 200
屬性 206
安全管理器 208
第 8 章 輸入/輸出設施 213
流 213
檔案 225
第 9 章 網路程式設計 235
套接字 236
數據報套接字 248
使用 URL 253
網頁瀏覽器和處理器 257
撰寫內容處理器 259
撰寫協定處理器 267
第 10 章 抽象視窗工具包 279
Java 中的 GUI 概念 281
小應用程式 292
使用元件和容器 295
文本元件 300
菜單和選擇 302
核取方塊 305
使用畫布 308
使用滾動條 310
建立新元件 314
對話框 316
佈局管理器 321
第 11 章 繪圖和圖像 331
基本繪圖 331
字型 337
圖像 341
繪圖技術 344
圖像處理 353
音頻處理 373
術語表 375
索引 391