Cruising Along with Java: Modernize and Modularize with the Latest Features
暫譯: 隨著 Java 航行:利用最新功能進行現代化與模組化
Subramaniam, Venkat
- 出版商: Pragmatic Bookshelf
- 出版日期: 2025-05-27
- 售價: $2,220
- 貴賓價: 9.5 折 $2,109
- 語言: 英文
- 頁數: 250
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1680509810
- ISBN-13: 9781680509816
-
相關分類:
Java 程式語言
海外代購書籍(需單獨結帳)
商品描述
Java is on a fast-paced development schedule that brings with it improved design capabilities and enhancements for application security. Learn about the changes to Java, from version 9 to 19, and apply new features to build enterprise applications faster and with fewer errors. Get up to speed on how to make your code concise, expressive, and less error prone, and create better OO programs with the newest features. Modularize and create asynchronous applications with ease and proper error handling. This book contains twelve chapters that dive deep into the features, using plenty of examples for you to practice along with.
Java is changing quickly - don't be left behind. This book will keep you up to date on the amazing capabilities of the Java language introduced between versions 9 and 19. Whether you are using Java 8 or one of the newer versions of Java, this book will serve as your practical guide to explore and apply the features in these versions of Java.
Learn to properly use type inference and avoid its pitfalls. Use text blocks to write elegant multiline strings and embed XML and JSON documents in code. Design better OO code with records and sealed classes, and along the way, learn proper ways to apply these new ideas. Reduce verbosity and hidden errors in code using switch expressions and pattern matching syntax. Take your upgrade journey further by modularizing your Java code, to make it more secure and manage dependencies clearly. Leverage those capabilities to more easily and dynamically discover services. Learn to create highly performant and resilient asynchronous applications, using the brand new virtual threads (fibers) and structured concurrency.
Don't tolerate clumsy old Java code; instead, benefit from the significant changes to the language in versions 9 through 19.
What You Need:
To make use of all the features in this book, you'll need at least Java 19.
商品描述(中文翻譯)
Java 正在快速發展,帶來了改進的設計能力和應用安全性增強。了解 Java 從版本 9 到 19 的變化,並應用新功能以更快且更少錯誤地構建企業應用程式。掌握如何使您的程式碼簡潔、表達清晰且更不易出錯,並利用最新功能創建更好的物件導向程式(OO 程式)。輕鬆模組化並創建非同步應用程式,並妥善處理錯誤。本書包含十二章,深入探討這些功能,並提供大量範例供您練習。
Java 正在迅速變化——不要被拋在後頭。本書將使您了解在版本 9 到 19 之間引入的 Java 語言的驚人能力。無論您使用的是 Java 8 還是較新版本的 Java,本書都將作為您探索和應用這些版本 Java 功能的實用指南。
學習正確使用類型推斷並避免其陷阱。使用文本區塊撰寫優雅的多行字串,並在程式碼中嵌入 XML 和 JSON 文件。利用記錄(records)和密封類別(sealed classes)設計更好的物件導向程式碼,並在此過程中學習正確應用這些新概念的方法。使用 switch 表達式和模式匹配語法減少程式碼的冗長性和隱藏錯誤。通過模組化您的 Java 程式碼,進一步提升升級之旅,使其更安全並清晰管理依賴關係。利用這些能力更輕鬆且動態地發現服務。學習創建高效能和韌性的非同步應用程式,使用全新的虛擬執行緒(fibers)和結構化併發。
不要容忍笨拙的舊 Java 程式碼;相反,應該受益於版本 9 到 19 中語言的重大變化。
您需要的:
要充分利用本書中的所有功能,您至少需要 Java 19。