Overview
- Presents the defining new and much-anticipated feature in Java 9 that all Java programmers will need and want to learn
- Covers a feature essential to using Java for connected devices and the Internet of Things
- Solves painful and longstanding problems around conflicting class names and class paths that have plagued Java programmers from the beginning
Access this book
Tax calculation will be finalised at checkout
Other ways to access
Table of contents (12 chapters)
Keywords
About this book
Until now Java has been monolithic. Using any one part of Java has meant incorporating the entirety of the runtime environment, an approach ill-suited to the increasing number of IoT devices such as fitness monitors, kitchen appliances, toys and games, and so forth. This book shows a new way, to make Java scale from the smallest of footprints in the smallest of devices through desktop PCs and on up to server platforms.
With Java 9 Modularity Revealed you will learn to make your projects more reliable and scalable than ever using the most important feature in Java 9—The Java Platform Module System, known more commonly as Project Jigs
aw. You will learn how to avoid one of the major pain points of Java programming, that of conflicting class names from different modules, or packages. You will learn to create custom run-time images that represent a minimal and more compact JRE containing only those modules that you need. You will further learn to migrate existing Java applications to modular ones using different approaches and tools. The end result is a new ability to plug together different modules without fear of namespace and other conflicts, and you can deploy to everything from small devices to large servers.
This book provides code examples and explanations.
What You'll Learn
- Build Java applications using the new modular system introduced in Java 9
- Create your own JRE consisting only of the modules that you require
- Adapt your testing techniques toward modular applications lare your dependencies on other modules
- Enable modules to export only specific packages
- Migrate existing Java applications to modular ones
- Improve maintainability and performance of Java applications
Who This Book Is For
Experienced Java programmers wanting to keep up and become informed on the new modularity support in Java 9
Authors and Affiliations
About the author
Bibliographic Information
Book Title: Java 9 Modularity Revealed
Book Subtitle: Project Jigsaw and Scalable Java Applications
Authors: Alexandru Jecan
DOI: https://doi.org/10.1007/978-1-4842-2713-8
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)
Copyright Information: Alexandru Jecan 2017
Softcover ISBN: 978-1-4842-2712-1Published: 29 September 2017
eBook ISBN: 978-1-4842-2713-8Published: 27 September 2017
Edition Number: 1
Number of Pages: XXVI, 221
Number of Illustrations: 33 b/w illustrations, 17 illustrations in colour
Topics: Java, Programming Techniques, Programming Languages, Compilers, Interpreters