Introducing Jakarta EE CDI:Contexts and Dependency Injection for Enterprise Java Development
By 作者:Luqman Saeed
Publisher Finelybook 出版社:Apress; 1st ed. edition (February 13, 2020)
The Book Description
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
1. What Is Java EE?
2. What Is a Java Specification RequestJSR)?
3. What Is a Reference Implementation?
4. What Is an Application Server?
5. What Is Jakarta EE?
6. Why Jakarta EE?
7. Jakarta EE and the Spring Framework
8. The Contexts and Dependency Injection (CDI) APl
9. CDI Stereotypes
10. The CDl Ecosystem