Cargando…

Java 9 modularity : patterns and practices for developing maintainable applications /

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Mak, Sander (Autor), Bakker, Paul (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Sebastopol, CA : O'Reilly Media, 2017.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Copyright; Table of Contents; Foreword; Preface; Who Should Read This Book; Why We Wrote This Book; Navigating This Book; Using Code Examples; Conventions Used in This Book; O'Reilly Safari; How to Contact Us; Acknowledgments; Part I. Introduction to the Java Module System; Chapter 1. Modularity Matters; What Is Modularity?; Before Java 9; JARs as Modules?; Classpath Hell; Java 9 Modules; Chapter 2. Modules and the Modular JDK; The Modular JDK; Module Descriptors; Readability; Accessibility; Implied Readability; Qualified Exports; Module Resolution and the Module Path.
  • Using the Modular JDK Without ModulesChapter 3. Working with Modules; Your First Module; Anatomy of a Module; Naming Modules; Compilation; Packaging; Running Modules; Module Path; Linking Modules; No Module Is an Island; Introducing the EasyText Example; A Tale of Two Modules; Working with Platform Modules; Finding the Right Platform Module; Creating a GUI Module; The Limits of Encapsulation; Interfaces and Instantiation; Chapter 4. Services; Factory Pattern; Services for Implementation Hiding; Providing Services; Consuming Services; Service Life Cycle; Service Provider Methods.
  • Factory Pattern RevisitedDefault Service Implementations; Service Implementation Selection; Service Type Inspection and Lazy Instantiation; Module Resolution with Service Binding; Services and Linking; Chapter 5. Modularity Patterns; Determining Module Boundaries; Lean Modules; API Modules; What Should Be in an API Module?; Implied Readability; API Module with a Default Implementation; Aggregator Modules; Building a Facade over Modules; Safely Splitting a Module; Avoiding Cyclic Dependencies; Split Packages; Breaking Cycles; Optional Dependencies; Compile-Time Dependencies.
  • Implementing Optional Dependencies with ServicesVersioned Modules; Module Resolution and Versioning; Resource Encapsulation; Loading Resources from a Module; Loading Resources Across Modules; Working with ResourceBundles; Chapter 6. Advanced Modularity Patterns; Strong Encapsulation Revisited; Deep Reflection; Open Modules and Packages; Dependency Injection; Reflection on Modules; Introspection; Modifying Modules; Annotations; Container Application Patterns; Layers and Configurations; Classloading in Layers; Plug-in Architectures; Container Architectures.
  • Resolving Platform Modules in ContainersPart II. Migration; Chapter 7. Migration Without Modules; The Classpath Is Dead, Long Live the Classpath; Libraries, Strong Encapsulation, and the JDK 9 Classpath; Compilation and Encapsulated APIs; Removed Types; Using JAXB and Other Java EE APIs; The jdk.unsupported Module; Other Changes; Chapter 8. Migration to Modules; Migration Strategies; A Simple Example; Mixing Classpath and Module Path; Automatic Modules; Open Packages; Open Modules; VM Arguments to Break Encapsulation; Automatic Modules and the Classpath; Using jdeps; Loading Code Dynamically.