<span> Develop modular applications using the Java Platform Module System, the single most anticipated feature in Java 9. You will improve maintainability and performance of your Java applications by deploying only modules that are needed and encapsulating their implementation details.Β <div><di
JAVA 9 MODULARITY : project jigsaw and scalable java applications
β Scribed by JECAN, ALEXANDRU
- Publisher
- APRESS
- Year
- 2017
- Tongue
- English
- Leaves
- 236
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
Develop modular applications using the Java Platform Module System, the single most anticipated feature in Java 9. You will improve maintainability and performance of your Java applications by deploying only modules that are needed and encapsulating their implementation details.
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 Jigsaw. 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
β¦ Table of Contents
Front Matter ....Pages i-xxvi
Modular Programming Concepts (Alexandru Jecan)....Pages 1-16
Project Jigsaw (Alexandru Jecan)....Pages 17-30
Modular JDK and Source Code (Alexandru Jecan)....Pages 31-43
Defining and Using Modules (Alexandru Jecan)....Pages 45-85
Modular Runtime Images (Alexandru Jecan)....Pages 87-94
Services (Alexandru Jecan)....Pages 95-104
Jlink: The Java Linker (Alexandru Jecan)....Pages 105-122
Migration (Alexandru Jecan)....Pages 123-154
The New Module API (Alexandru Jecan)....Pages 155-171
Advanced Topics (Alexandru Jecan)....Pages 173-187
Testing Modular Applications (Alexandru Jecan)....Pages 189-203
Integration with Tools (Alexandru Jecan)....Pages 205-215
Back Matter ....Pages 217-221
π SIMILAR VOLUMES
Develop modular applications using the Java Platform Module System, the single most anticipated feature in Java 9. You will improve maintainability and performance of your Java applications by deploying only modules that are needed and encapsulating their implementation details. Until now Java has b
<p>Discover all the new features and changes in Java 9, including module systemsβJPMS or Project Jigsaw. This book covers the whole Java application development life cycle. You'll review all the important concepts, including module descriptor, unnamed module, automatic module, and command line tools