Java 9 Revealed: For Early Adoption and Migration
暫譯: Java 9 揭密:早期採用與遷移指南

Kishori Sharan

  • 出版商: Apress
  • 出版日期: 2017-04-27
  • 售價: $1,580
  • 貴賓價: 9.5$1,501
  • 語言: 英文
  • 頁數: 548
  • 裝訂: Paperback
  • ISBN: 1484225910
  • ISBN-13: 9781484225912
  • 相關分類: Java 程式語言
  • 立即出貨 (庫存=1)

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

相關主題

商品描述

Preview the new Java 9 modules, SDK, JDK, JVM and more in this comprehensive early adopter title. This book covers what’s new in Java 9 and how to use these new features. Java 9 Revealed is for experienced Java programmers looking to make the migration from Java 7 or Java 8 to Java 9.
 
Author Kishori Sharan begins by covering how to develop Java applications using new the module system introduced in Java 9 and how to use the JShell tool in Java 9 for quick prototyping. There is extensive coverage of new Java 9 features, such as the new layout of the modular JDK/JRE runtime image, new convenience factory methods for creating collections, the new spin-wait hints introduced to improve performance of spin loops in your code, and the new Desktop API for implementing platform-specific desktop features. Along the way you will also learn how to use the Reactive Streams API in Java 9 and, most importantly, this book will show you the breaking changes in Java 9.
 
 
 
What You'll Learn
  • Discover what is new in the Process API
  • Inspect a thread’s stack with the Stack-Walking API
  • Use the jlink tool to create a custom runtime image
  • Work with HTML5 Javadoc and use the new search feature in Javadoc
  • Learn how to use new methods and collectors in the Streams API
  • Learn how to create a custom logger to log messages from platform classes and how to use JVM logs
  • Learn about new methods in the Optional class and how to use them
  • Learn how to compare arrays and slices of arrays
  • Learn how to use the enhanced try-with-resources blocks
  • Make your object deserialization more secure by using object deserialization filters

Who This Book Is For

 

Experienced Java programmers and developers.

 

 

商品描述(中文翻譯)


在這本全面的早期採用者書籍中,預覽新的 Java 9 模組、SDK、JDK、JVM 等等。本書涵蓋了 Java 9 的新特性以及如何使用這些新功能。Java 9 Revealed 針對希望從 Java 7 或 Java 8 遷移到 Java 9 的經驗豐富的 Java 程式設計師。

 

作者 Kishori Sharan 首先介紹如何使用 Java 9 中引入的新模組系統來開發 Java 應用程式,以及如何使用 Java 9 中的 JShell 工具進行快速原型設計。本書廣泛涵蓋了 Java 9 的新特性,例如模組化 JDK/JRE 執行時映像的新佈局、用於創建集合的新便利工廠方法、為了提高程式碼中旋轉迴圈性能而引入的新旋轉等待提示,以及用於實現平台特定桌面功能的新桌面 API。在此過程中,您還將學習如何在 Java 9 中使用反應式流 API,最重要的是,本書將向您展示 Java 9 中的重大變更。

 

 

 

您將學到什麼



  • 了解 Process API 中的新功能

  • 使用 Stack-Walking API 檢查執行緒的堆疊

  • 使用 jlink 工具創建自定義執行時映像

  • 使用 HTML5 Javadoc 並在 Javadoc 中使用新的搜索功能

  • 學習如何在 Streams API 中使用新方法和收集器

  • 學習如何創建自定義記錄器以記錄來自平台類的消息,以及如何使用 JVM 日誌

  • 了解 Optional 類中的新方法及其用法

  • 學習如何比較數組和數組切片

  • 學習如何使用增強的 try-with-resources 區塊

  • 通過使用物件反序列化過濾器來提高物件反序列化的安全性


本書適合誰閱讀

 

經驗豐富的 Java 程式設計師和開發人員。