Java 9 Modularity Revealed: Project Jigsaw and Scalable Java Applications

· Apress
2 reviews
Ebook
221
Pages

About this ebook

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
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 h...

Discover more

Ratings and reviews

2 reviews

About the author

Alexandru Jecan is a software engineer, author, trainer, and speaker residing in Munich, Germany. He earned a degree in computer science from the Technical University of Cluj-Napoca, Romania. Alexandru provides professional in-house training on various software technologies across Germany. He also speaks at tech conferences and user groups, both in Europe and the US, on different topics related to software development. He was awarded the title of “Author of the Month” by the German JavaMagazine. Alexandru likes to read during his free time and to spend time with his family.
Alexandru Jecan is a software engineer, author, trainer, and speaker residing in Munich, Germany. He earned a degree in computer science from the Technical University of Cluj-Napoca, Romania. Alexandru provides professional in-house training on various software technologies across Germany. He als...

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.