Java 9 Revealed: For Early Adoption and Migration

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程式設計師,他們希望從Java 7或Java 8遷移到Java 9。

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

《你將學到什麼》

- 了解進程API中的新功能
- 使用堆疊遍歷API檢查線程的堆疊
- 使用jlink工具創建自定義運行時映像
- 使用HTML5 Javadoc並在Javadoc中使用新的搜索功能
- 學習如何在Streams API中使用新方法和收集器
- 學習如何創建自定義日誌記錄器以記錄來自平台類的訊息,以及如何使用JVM日誌
- 了解Optional類中的新方法以及如何使用它們
- 學習如何比較數組和數組片段
- 學習如何使用增強的try-with-resources區塊
- 通過使用物件反序列化過濾器使您的物件反序列化更安全

《適合閱讀人群》

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