Skip to main content
  • Book
  • © 2017

Java 9 Revealed

For Early Adoption and Migration

Apress

Authors:

  • 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

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (21 chapters)

  1. Front Matter

    Pages i-xxiv
  2. Introduction

    • Kishori Sharan
    Pages 1-5
  3. The Module System

    • Kishori Sharan
    Pages 7-29
  4. Creating Your First Module

    • Kishori Sharan
    Pages 31-56
  5. Module Dependency

    • Kishori Sharan
    Pages 57-103
  6. Implementing Services

    • Kishori Sharan
    Pages 105-125
  7. Packaging Modules

    • Kishori Sharan
    Pages 127-145
  8. Creating Custom Runtime Images

    • Kishori Sharan
    Pages 147-158
  9. Breaking Changes in JDK 9

    • Kishori Sharan
    Pages 159-196
  10. Breaking Module Encapsulation

    • Kishori Sharan
    Pages 197-213
  11. The Module API

    • Kishori Sharan
    Pages 215-251
  12. The Java Shell

    • Kishori Sharan
    Pages 253-313
  13. Process API Updates

    • Kishori Sharan
    Pages 315-334
  14. Collection API Updates

    • Kishori Sharan
    Pages 335-348
  15. The HTTP/2 Client API

    • Kishori Sharan
    Pages 349-376
  16. Enhanced Deprecation

    • Kishori Sharan
    Pages 377-390
  17. Stack Walking

    • Kishori Sharan
    Pages 391-409
  18. Reactive Streams

    • Kishori Sharan
    Pages 411-427
  19. Streams API Updates

    • Kishori Sharan
    Pages 429-439
  20. Platform and JVM Logging

    • Kishori Sharan
    Pages 441-459

About this book

Explore the new Java 9 modules, SDK, JDK, JVM, JShell and more in this comprehensive book that covers what’s new in Java 9 and how to use these new features. Java 9 Revealed is for experienced Java programmers looking to migrate to Java 9.  Author Kishori Sharan begins by covering how to develop Java applications using the new module system introduced in Java 9 and how to use the JShell tool in Java 9 for prototyping, compiling and testing. 


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

“Java 9 revealed: for early adoption and migration gives a rather complete description of what Java 9 will be all about. The description is accompanied by detailed instructions on how to guide your code migration … . People concerned with Java 9 should definitely read the book. It does a great job at smoothly and incrementally presenting the complexity of Java 9.” (Computing Reviews, August, 2017) 

Authors and Affiliations

  • Montgomery, USA

    Kishori Sharan

About the author

Kishori Sharan has earned a Master of Science in Computer Information Systems degree from Troy State University, Alabama. He is a Sun Certified Java 2 programmer. He has vast experience in providing training to professional developers in Java, JSP, EJB, and Web technology. He possesses over ten years of experience in implementing enterprise level Java application.

Bibliographic Information

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access