Pro CDI 2 in Java EE 8 an in-depth guide to context and dependency injection

Use CDI and the new CDI 2.0 to automatically manage the lifecycle of your applications beans using predefined scopes and define custom lifecycles using scopes. In this book, you will see how you can implement dynamic and asynchronous communication between separate beans in your application with CDI...

Full description

Bibliographic Details
Main Authors: Beernink, Jan, Tijms, Arjan (Author)
Format: eBook
Language:English
Published: New York Apress 2019
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 02800nmm a2200445 u 4500
001 EB001940463
003 EBX01000000000000001103365
005 00000000000000.0
007 cr|||||||||||||||||||||
008 210123 ||| eng
020 |a 9781484243633 
020 |a 9781484243640 
020 |a 1484243633 
020 |a 1484243625 
020 |a 9781484243626 
050 4 |a QA76.73.J38 
100 1 |a Beernink, Jan 
245 0 0 |a Pro CDI 2 in Java EE 8  |b an in-depth guide to context and dependency injection  |c Jan Beernink, Arjan Tijms 
260 |a New York  |b Apress  |c 2019 
300 |a 1 online resource  |b illustrations 
505 0 |a 1. The History of CDI -- 2. Beans as the Component Model in EE -- 3. Identifying Beans -- 4. Scopes -- 5. Events -- 6. Interceptors -- 7. Dynamic Beans -- 8. CDI in Java SE. 
653 |a Logiciels d'application / Développement 
653 |a Application software / Development / fast 
653 |a Java (Computer program language) / fast 
653 |a Java (Langage de programmation) 
653 |a Java (Computer program language) / http://id.loc.gov/authorities/subjects/sh95008574 
653 |a Application software / Development / http://id.loc.gov/authorities/subjects/sh95009362 
700 1 |a Tijms, Arjan  |e author 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
500 |a Includes index 
028 5 0 |a 10.1007/978-1-4842-4363-3 
015 |a GBB9G3395 
776 |z 1484243633 
776 |z 9781484243640 
776 |z 9781484243626 
776 |z 9781484243633 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781484243633/?ar  |x Verlag  |3 Volltext 
082 0 |a 005.13/3 
520 |a Use CDI and the new CDI 2.0 to automatically manage the lifecycle of your applications beans using predefined scopes and define custom lifecycles using scopes. In this book, you will see how you can implement dynamic and asynchronous communication between separate beans in your application with CDI events. The authors explain how to add new capabilities to the CDI platform by implementing these capabilities as extensions. They show you how to use CDI in a Java SE environment with the new CDI initialization and configuration API, and how to dynamically modify the configuration of beans at application startup by using dynamic bean building. You will: Use qualifier annotations to inject specific bean implementations Programmatically retrieve bean instances from the CDI container in both Java SE and Java EE when injecting them into an object isnt possible Dynamically replace beans using the @Alternative annotation to, for example, replace a bean with a mock version for testing Work with annotation literals to get instances of annotations to use with the CDI API Discover how scopes and events interact