Introducing Jakarta EE CDI - Contexts and Dependency Injection for Enterprise Java Development.
معرفی کتاب «Introducing Jakarta EE CDI - Contexts and Dependency Injection for Enterprise Java Development.» نوشتهٔ Luqman Saeed، منتشرشده توسط نشر Apress : Imprint: Apress در سال 2020. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.
Discover the Jakarta EE Contexts and Dependency Injection (CDI 2.0) framework which helps you write better code through the use of well-defined enterprise Java-based components and beans (EJBs). If you have ever wanted to write clean Java EE code, this short book is your best guide for doing so: you will pick up valuable tips along the way from your author's years of experience teaching and coding. Introducing Jakarta EE CDI covers CDI 2.0 in detail and equips you with the theoretical underpinnings of Java EE, now Jakarta EE. This book is packed with so much that by the end of it, you will feel confident to use your new-found knowledge to help you write better, readable, maintainable, and long-lived mission-critical software. \*\* What You Will Learn - Write better code with the Jakarta EE Contexts and Dependency Injection (CDI) framework - Work with the powerful, extensible, and well-defined contextual life cycle for components - Use CDI’s mechanism for decoupling application components through a typesafe event API - Build typesafe interceptors for altering the behaviour of components at runtime - Harness the well-defined qualifier system for easy isolation of beans - Convert almost any valid Java type to a CDI managed bean with CDI’s producer mechanism \*\* Who This Book Is For Experienced enterprise Java, Java EE, or J2EE developers who may be new to CDI or dependency injection. https://www.apress.com/gp/book/9781484256411 Table of Contents About the Author About the Technical Reviewer Preface Chapter 1: What Is Java EE? How Do You Run a Java EE App? Chapter 2: What Is a Java Specification Request (JSR)? Chapter 3: What Is a Reference Implementation? Chapter 4: What Is an Application Server? Chapter 5: What Is Jakarta EE? Chapter 6: Why Jakarta EE? Standardization Openness Ease of Development Portability Pick and Choose: Tank or Pistol Amazing Documentation Chapter 7: Jakarta EE and the Spring Framework Chapter 8: The Contexts and Dependency Injection (CDI) API CDI Activation The CDI Container CDI Beans vs. Contextual Instances Creating and Using Beans @ApplicationScoped Other CDI Scopes @RequestScoped @SessionScoped @ConversationScoped Dependent Pseudo-Scope CDI Injection Points Field Injection Point Method Injection Constructor Injection Kinds of CDI Beans Managed Beans Session Beans CDI Qualifiers Built-in Qualifiers CDI Producers Method Producers Producer Fields CDI Bean Lifecycle Callbacks @PostConstruct @PreDestroy CDI Interceptors CDI Events Synchronous Events Async Events Qualifying Events Transactional Event Observers Chapter 9: CDI Stereotypes Chapter 10: The CDI Ecosystem Eclipse MicroProfile Apache Delta Spike Afterword Index
دانلود کتاب Introducing Jakarta EE CDI - Contexts and Dependency Injection for Enterprise Java Development.