Overview
- Covers JShell, modular Java, new lightweight JSON APIs for Java 9, and much more
- Focused on new Java 9 features for those migrating to the latest release
- Written by Kishori Sharan, Java expert, books author, and programmer
Access this book
Tax calculation will be finalised at checkout
Other ways to access
Table of contents (21 chapters)
Keywords
About this book
The book provides 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
- How JShell facilitates rapid development, code evaluation, and testing
- 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.
Reviews
Authors and Affiliations
About the author
Bibliographic Information
Book Title: Java 9 Revealed
Book Subtitle: For Early Adoption and Migration
Authors: Kishori Sharan
DOI: https://doi.org/10.1007/978-1-4842-2592-9
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)
Copyright Information: Kishori Sharan 2017, corrected publication 2018 2017
eBook ISBN: 978-1-4842-2592-9Published: 19 April 2017
Edition Number: 1
Number of Pages: XXIV, 521
Number of Illustrations: 75 b/w illustrations
Topics: Java, Programming Languages, Compilers, Interpreters, Programming Techniques