Java Examples in a Nutshell (3RD)

個数:
  • ポイントキャンペーン

Java Examples in a Nutshell (3RD)

  • ウェブストア価格 ¥6,879(本体¥6,254)
  • O'Reilly Media(2004/02発売)
  • 外貨定価 US$ 39.95
  • ゴールデンウィーク ポイント2倍キャンペーン対象商品(5/6まで)
  • ポイント 124pt
  • 提携先の海外書籍取次会社に在庫がございます。通常3週間で発送いたします。
    重要ご説明事項
    1. 納期遅延や、ご入手不能となる場合が若干ございます。
    2. 複数冊ご注文の場合、分割発送となる場合がございます。
    3. 美品のご指定は承りかねます。
  • 【入荷遅延について】
    世界情勢の影響により、海外からお取り寄せとなる洋書・洋古書の入荷が、表示している標準的な納期よりも遅延する場合がございます。
    おそれいりますが、あらかじめご了承くださいますようお願い申し上げます。
  • ◆画像の表紙や帯等は実物とは異なる場合があります。
  • ◆ウェブストアでの洋書販売価格は、弊社店舗等での販売価格とは異なります。
    また、洋書販売価格は、ご注文確定時点での日本円価格となります。
    ご注文確定後に、同じ洋書の販売価格が変動しても、それは反映されません。
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 700 p.
  • 言語 ENG
  • 商品コード 9780596006204
  • DDC分類 005.133

Full Description

The author of the best-selling Java in a Nutshell has created an entire book of real-world Java programming examples that you can learn from. If you learn best "by example," this is the book for you. This third edition covers Java 1.4 and contains 193 complete, practical examples: over 21,900 lines of densely commented, professionally written Java code, covering 20 distinct client-side and server-side APIs. It includes new chapters on the Java Sound API and the New I/O API. The chapters on XML and servlets have been rewritten to cover the latest versions of the specifications and to demonstrate best practices for Java 1.4. New and updated examples throughout the book demonstrate many other new Java features and APIs. Java Examples in a Nutshell is a companion volume to Java in a Nutshell, Java Foundation Classes in a Nutshell, and Java Enterprise in a Nutshell. It picks up where those quick references leave off, providing a wealth of examples for both novices and experts. This book doesn't hold your hand; it simply delivers well-commented working examples with succinct explanations to help you learn and explore Java and its APIs.
Java Examples in a Nutshell contains examples that demonstrate: Core APIs, including I/O, New I/O, threads, networking, security, serialization, and reflection; Desktop APIs, highlighting Swing GUIs, Java 2D graphics, preferences, printing, drag-and-drop, JavaBeans, applets, and sound; Enterprise APIs, including JDBC (database access), JAXP (XML parsing and transformation), Servlets 2.4, JSP 2.0 (JavaServer Pages), and RMI. The book begins with introductory examples demonstrating structured and object-oriented programming techniques for new Java programmers. A special index at the end of the book makes it easy to look up examples that use a particular Java class or accomplish a desired task. In between, each chapter includes exercises that challenge readers and suggest further avenues for exploration.

Contents

Preface; I. Learning Java; 1. Java Basics Hello World; FizzBuzz; The Fibonacci Series; Using Command-Line Arguments; Echo in Reverse; FizzBuzz Switched; Computing Factorials; Recursive Factorials; Caching Factorials; Computing Big Factorials; Handling Exceptions; Interactive Input Using a StringBuffer; Sorting Numbers; Computing Primes; 2. Objects, Classes, and Interfaces; A Rectangle Class Testing the Rect Class; A Rect Subclass; Another Subclass; Complex Numbers Computing Statistics An Integer List; Tokenizing Text; II. Core Java APIs; 3. Input/Output; Files and Streams; Working with Files; Copying File Contents; Reading and Displaying Text Files; Listing Directory and File Information; Compressing Files and Directories; Filtering Character Streams; Tokenizing a Character Stream; Random Access to Files; 4. Threads; Thread Basics; Thread-Safe Classes; Threads and Thread Groups; Deadlock; Timers; 5. Networking; Downloading the Contents of a URL; Using a URLConnection; Sending Email Through a URLConnection; A Simple Network Client; A Generic Client; An HTTP Client; A POP Client; A Simple Web Server; A Proxy Server; A Generic Multithreaded Server; Sending Datagrams; Receiving Datagrams; 6. New I/O Locking Files; Copying Files; Regular Expressions and Character Decoding; File Copying with Buffers; Advanced Byte-to-Character Conversion; Tokenizing Byte Buffers; A Simple HTTP Client; The Daytime Service; A Multiplexed Server; A Multiplexed Network Client; 7. Security and Cryptography; Running Untrusted Code; Loading Untrusted Code; Message Digests and Digital Signatures; Cryptography; 8. Internationalization; A Word About Locales; Unicode; Character Encodings; Handling Local Customs; Localizing User-Visible Messages; Formatted Messages; 9. Reflection; Obtaining Class and Member Information; Invoking a Named Method; Proxy Objects; 10. Object Serialization; Simple Serialization; Custom Serialization; Externalizable Classes; Serialization and Class Versioning; III. Desktop Java APIs; 11. Graphical User Interfaces; Components; Containers; Layout Management; Event Handling; A Complete GUI; Actions and Reflection; Custom Dialogs; An Error Handler Dialog; Displaying Tables; Displaying Trees; A Simple Web Browser; Describing GUIs with Properties; Themes and the Metal Look-and-Feel; Look-and-Feel Preferences; The ShowBean Program; 12. Graphics; Graphics Before Java 1.2; The Java 2D API; Drawing and Filling Shapes; Transforms; Line Styles with BasicStroke; Stroking Lines; Filling Shapes with Paint; Antialiasing; Combining Colors with AlphaComposite; Image Processing; Image I/O; Custom Shapes; Custom Strokes; Custom Paint; Advanced Animation; Displaying Graphics Examples; 13. Printing; Printing with the Java 1.1 API; Printing with the Java 1.2 API; Printing with the Java 1.4 API; Printing Multipage Text Documents; Advanced Printing with Java 1.4; 14. Data Transfer; Simple Swing Data Transfer; A Clock with Drag and Copy Support; Data Transfer Architecture; Droppin