Java 11 and 12 – New Features

Mala Gupta

  • 出版商: Packt Publishing
  • 出版日期: 2019-03-27
  • 售價: $1,410
  • 貴賓價: 9.5$1,340
  • 語言: 英文
  • 頁數: 242
  • 裝訂: Paperback
  • ISBN: 1789133270
  • ISBN-13: 9781789133271
  • 相關分類: Java 程式語言
  • 海外代購書籍(需單獨結帳)

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

商品描述

Key Features

  • Overcome the challenges involved in migrating to new versions of Java
  • Discover how Oracle has bridged the gap between Java and native code
  • Make the best use of new Java features and libraries in your applications

Book Description

With its new six-monthly release cadence, Java is moving forward faster. In addition to planned version releases, a lot of work is currently being undertaken on various Java projects at Oracle. In order to make best use of the new features in their applications and libraries, you must be well-versed with the most recent advancements.

Java 11 and 12 – New Features will take you through the latest developments in Java, right from variable type inference and simplified multithreading through to performance improvements, which are covered in depth to help you make your applications more efficient. This book explains the relevance and applicability of Java's new features, and answers your questions on whether to invest in migrating to new Java versions and when to migrate. You'll also get to grips with platform features, such as AppCDS and new garbage collectors, to tune and optimize your application―from reduced launch time and latency to improved performance and throughput.

By the end of this book, you will be equipped with a thorough understanding of the new features of Java 11, 12, and Project Amber, and possess the skills to apply them with a view to improving your application's performance.

What you will learn

  • Study type interference and how to work with the var type
  • Understand Class-Data Sharing, its benefits, and limitations
  • Discover platform options to reduce your application's launch time
  • Improve application performance by switching garbage collectors
  • Get up to date with the new Java release cadence
  • Define and assess decision criteria for migrating to a new version of Java

Who this book is for

If you're an executive or solutions architect responsible for technology selection or Java migration decisions, this Java book is for you. You'll also benefit from this book if you're a computer science enthusiast curious to learn about the latest and upcoming Java features. This book will help you migrate your solutions from Java 8 or older to the latest Java release.

商品描述(中文翻譯)

主要特點


  • 克服遷移到新版本Java所面臨的挑戰

  • 了解Oracle如何彌合Java和本機代碼之間的差距

  • 在應用程式中充分利用新的Java功能和庫

書籍描述

Java以每六個月的發布節奏向前推進。除了計劃的版本發布外,Oracle目前正在進行各種Java項目的工作。為了在應用程式和庫中充分利用新功能,您必須熟悉最新的進展。

《Java 11和12-新功能》將帶您了解Java的最新發展,從變數類型推斷和簡化多線程到性能改進,深入介紹以幫助您使應用程式更高效。本書解釋了Java新功能的相關性和適用性,並回答了您是否要投資遷移到新版本Java以及何時遷移的問題。您還將掌握平台功能,例如AppCDS和新的垃圾收集器,以調整和優化應用程式-從減少啟動時間和延遲到提高性能和吞吐量。

通過閱讀本書,您將全面了解Java 11、12和Amber項目的新功能,並具備應用這些功能以改善應用程式性能的技能。

您將學到什麼


  • 研究類型推斷以及如何使用var類型

  • 了解類數據共享的好處和限制

  • 發現減少應用程式啟動時間的平台選項

  • 通過切換垃圾收集器來改善應用程式性能

  • 瞭解新的Java發布節奏

  • 定義和評估遷移到新版本Java的決策標準

適合閱讀對象

如果您是負責技術選擇或Java遷移決策的高管或解決方案架構師,這本Java書適合您。如果您是對最新和即將推出的Java功能感興趣的計算機科學愛好者,您也會從本書中受益。本書將幫助您將解決方案從Java 8或更早版本遷移到最新的Java版本。

作者簡介

Mala Gupta, a Java champion, works as a developer advocate for JetBrains. Founder at eJavaGuru, she has been actively supporting Java certification as a path to career advancement. Since 2006, she has been coaching students and professionals with a view to achieving success in these certifications.

作者簡介(中文翻譯)

Mala Gupta,一位Java冠軍,目前在JetBrains擔任開發者倡導者。她是eJavaGuru的創辦人,一直積極支持Java認證作為職業發展的途徑。自2006年以來,她一直指導學生和專業人士,以實現在這些認證中的成功。

目錄大綱

  1. Type Inference
  2. AppCDS
  3. Garbage Collector Optimizations
  4. Miscellaneous Improvements in JDK 10
  5. Local Variable Syntax for Lambda Parameters
  6. Epsilon GC
  7. The HTTP Client API
  8. ZGC
  9. Flight Recorder and Mission Control
  10. Miscellaneous Improvements in JDK 11
  11. Switch Expressions
  12. Miscellaneous Improvements in JDK 12
  13. Enhanced Enums in Project Amber
  14. Data Classes and Their Usage
  15. Raw String Literals
  16. Lambda Leftovers
  17. Pattern Matching

目錄大綱(中文翻譯)

- 類型推斷
- AppCDS
- 垃圾回收器優化
- JDK 10 中的其他改進
- Lambda 參數的本地變量語法
- Epsilon GC
- HTTP Client API
- ZGC
- Flight Recorder 和 Mission Control
- JDK 11 中的其他改進
- Switch 表達式
- JDK 12 中的其他改進
- Project Amber 中的增強枚舉
- 數據類和其使用
- 原始字符串文字
- Lambda 遺留問題
- 模式匹配