Java 9 Modularity Revealed Project Jigsaw and Scalable Java Applications
Başlık:
Java 9 Modularity Revealed Project Jigsaw and Scalable Java Applications
ISBN:
9781484227138
Personal Author:
Edition:
1st ed. 2017.
Yayın Bilgileri:
Berkeley, CA : Apress : Imprint: Apress, 2017.
Fiziksel Tanımlama:
XXVI, 221 p. 50 illus., 17 illus. in color. online resource.
Contents:
Introduction -- Chapter 1: Modular Programming Concepts -- Chapter 2: Project Jigsaw -- Chapter 3: Modular JDK and Source Code -- Chapter 4: Defining and Using Modules -- Chapter 5: Modular Run-Time Images -- Chapter 6: Services -- Chapter 7: jLink: The Java Linker -- Chapter 8: Migration -- Chapter 9: The New Module API -- Chapter 10: Advanced topics -- Chapter 11: Testing Modular Applications -- Chapter 12: Integration with Tools.
Abstract:
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 Pro ject 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 Declare 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.
Ek Kurum Yazarı:
Dil:
English