Beginning Java 8 APIs, Extensions and Libraries: Swing, JavaFX, JavaScript, JDBC and Network Programming APIs (Paperback)
暫譯: Java 8 API、擴展與函式庫入門:Swing、JavaFX、JavaScript、JDBC 與網路程式設計 API (平裝本)

Kishori Sharan

  • 出版商: Apress
  • 出版日期: 2014-09-13
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 808
  • 裝訂: Paperback
  • ISBN: 1430266619
  • ISBN-13: 9781430266617
  • 相關分類: Java 程式語言Java 相關技術JavaScript
  • 立即出貨 (庫存=1)

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

商品描述

Beginning Java 8 APIs, Extensions and Libraries completes the Apress learning Java journey and is a comprehensive approach to learning the Java programming language extensions and available APIs and libraries, including the new JavaFX APIs.

This book covers the key extensions of the Java programming language such as Swing, JavaFX, network programming, and JDBC. Each topic starts with a discussion of the topic's background. A step-by-step process, with small snippets of Java code, provides easy-to-follow instructions. At the end of a topic, a complete and ready-to-run Java program is provided. This book contains over 130 images and diagrams to help you visualize and better understand the topics. More than 130 complete programs allow you to practice and quickly learn the topics.

The Swing chapters discuss various aspects of working with a GUI, from the very basic concepts of developing a Swing application, to the most advanced topics, such as decorating a Swing component with a JLayer, drag-and-drop features, Synth Skinnable L&F, etc.

The chapter on network programming covers the basics of network technologies first, and then, the advanced topics of network programming, using a Java class library. It covers IPv4 and IPv6, addressing schemes, subnetting, supernetting, multicasting, TCP/IP sockets, UPD sockets, asynchronous socket I/O, etc.

The chapter on JDBC provides the details of connecting and working with databases such as Oracle, SQL Server, MySQL, DB2, Java DB (Apache Derby), Sybase, Adaptive Server Anywhere, etc. It contains a complete discussion on processing a ResultSet and a RowSet. It discusses how to use the RowSetFactory, to obtain a RowSet object of a specific type. Working with Large Objects (LOBs), such as Blob, Clob, and NClob, is covered in detail with Java code examples and database scripts.

What you’ll learn

  • How to extend your Java skills beyond the fundamental object oriented concepts and core language features
  • How to apply Java Swing for building Java front ends or user interfaces (UIs)
  • How to build small Java applications called applets
  • How to do Java network programming
  • How to connect with databases using JDBC APIs
  • How to work with JavaFX, RMI (Remote Method Invocation), and JNI (Java Native Interface)
  • How to use scripting in Java, including coverage of the Nashorn engine

Who this book is for

This tutorial is for Java programmers who are familiar with the fundamentals of the Java language and Java programming, who are now ready to call upon the power of extended Java functionality available from the huge array of Java APIs, extensions and libraries.

Table of Contents

1. Introduction to Swing

2. Swing Components

3. Advanced Swing

4. Applets

5. Network Programming

6. JDBC APIs

7. Java Remote Method Invocation

8. Java Native Interface

9. Introduction to JavaFX

10. Scripting in Java

商品描述(中文翻譯)

Java 8 API、擴展與函式庫入門》完成了 Apress 的 Java 學習之旅,並提供了一個全面的學習 Java 程式語言擴展及可用 API 和函式庫的方法,包括新的 JavaFX API。

本書涵蓋了 Java 程式語言的關鍵擴展,如 Swing、JavaFX、網路程式設計和 JDBC。每個主題都以該主題的背景討論開始。逐步的過程配合小段的 Java 程式碼,提供易於遵循的指導。在每個主題的結尾,提供了一個完整且可執行的 Java 程式。本書包含超過 130 張圖片和圖表,幫助您可視化並更好地理解主題。超過 130 個完整的程式讓您能夠練習並快速學習這些主題。

Swing 章節討論了與 GUI 相關的各個方面,從開發 Swing 應用程式的基本概念,到最先進的主題,如使用 JLayer 裝飾 Swing 元件、拖放功能、Synth 可皮膚化的外觀與感覺等。

網路程式設計章節首先涵蓋網路技術的基本知識,然後介紹使用 Java 類庫的網路程式設計進階主題。內容包括 IPv4 和 IPv6、地址方案、子網劃分、超網劃分、多播、TCP/IP 套接字、UDP 套接字、非同步套接字 I/O 等。

JDBC 章節提供了連接和操作資料庫(如 Oracle、SQL Server、MySQL、DB2、Java DB(Apache Derby)、Sybase、Adaptive Server Anywhere 等)的詳細資訊。它包含了對處理 ResultSet 和 RowSet 的完整討論,並討論如何使用 RowSetFactory 獲取特定類型的 RowSet 物件。對於大型物件(LOB),如 Blob、Clob 和 NClob,則詳細介紹了 Java 程式碼範例和資料庫腳本。

您將學到什麼



  • 如何將您的 Java 技能擴展到基本物件導向概念和核心語言特性之外

  • 如何應用 Java Swing 來構建 Java 前端或使用者介面(UIs)

  • 如何構建稱為小應用程式的 Java 應用程式

  • 如何進行 Java 網路程式設計

  • 如何使用 JDBC API 連接資料庫

  • 如何使用 JavaFX、RMI(遠端方法呼叫)和 JNI(Java 本地介面)

  • 如何在 Java 中使用腳本,包括對 Nashorn 引擎的介紹

本書適合誰


本教程適合熟悉 Java 語言和 Java 程式設計基礎的 Java 程式設計師,這些程式設計師現在準備利用來自大量 Java API、擴展和函式庫的擴展 Java 功能。

目錄


1. Swing 介紹


2. Swing 元件


3. 進階 Swing


4. 小應用程式


5. 網路程式設計


6. JDBC API


7. Java 遠端方法呼叫


8. Java 本地介面


9. JavaFX 介紹


10. Java 中的腳本