Modular Programming in Java 9 Год издания: 2017 Автор: Koushik Kothagal Издательство: Packt ISBN: 9781787126909 Язык: Английский Формат: PDF/EPUB/AZW3 Качество: Издательский макет или текст (eBook) Интерактивное оглавление: Да Количество страниц: 298 Описание: The Java 9 module system is an important addition to the language that affects the way we design, write, and organize code and libraries in Java. It provides a new way to achieve maintainable code by the encapsulation of Java types, as well as a way to write better libraries that have clear interfaces. Effectively using the module system requires an understanding of how modules work and what the best practices of creating modules are. This book will give you step-by-step instructions to create new modules as well as migrate code from earlier versions of Java to the Java 9 module system. You'll be working on a fully modular sample application and add features to it as you learn about Java modules. You'll learn how to create module definitions, setup inter-module dependencies, and use the built-in modules from the modular JDK. You will also learn about module resolution and how to use jlink to generate custom runtime images. We will end our journey by taking a look at the road ahead. You will learn some powerful best practices that will help you as you start building modular applications. You will also learn how to upgrade an existing Java 8 codebase to Java 9, handle issues with libraries, and how to test Java 9 applications.
1: INTRODUCING JAVA 9 MODULARITY
2: CREATING YOUR FIRST JAVA MODULE
3: HANDLING INTER-MODULE DEPENDENCIES
4: INTRODUCING THE MODULAR JDK
5: USING PLATFORM APIS
6: MODULE RESOLUTION, READABILITY, AND ACCESSIBILITY
7: INTRODUCING SERVICES
8: UNDERSTANDING LINKING AND USING JLINK
9: MODULE DESIGN PATTERNS AND STRATEGIES
10: PREPARING YOUR CODE FOR JAVA 9
11: MIGRATING YOUR CODE TO JAVA 9
12: USING BUILD TOOLS AND TESTING JAVA MODULES
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
The site does not give electronic versions of products, and is engaged only in a collecting and cataloguing of the references sent and published at a forum by our readers. If you are the legal owner of any submitted material and do not wish that the reference to it was in our catalogue, contact us and we shall immediately remove her. Files for an exchange on tracker are given by users of a site, and the administration does not bear the responsibility for their maintenance. The request to not fill in the files protected by copyrights, and also files of the illegal maintenance!