- Developing Middleware in Java EE 8
- Abdalla Mahmoud
- 144字
- 2021-07-23 19:24:29
Contexts and dependency injection
When designing an enterprise solution, one of the primary tasks is to divide your application into separate components that interact with each other. To avoid all the hassle of managing our components, their dependencies, and their life cycles, the contexts and dependency API (CDI) has been developed to be the backbone of component and dependency management. By components, we mean objects that encapsulate your application's business logic. By dependencies, we mean commonly used application-shared resources such as a database connection, user sessions, web service endpoints, and such.
In Chapter 2, Dependency Injection Using CDI 2.0, we'll learn how to create and use CDI beans, how to use bean scopes, how to provide different implementations of the same bean, and how to inject beans into other beans. Moreover, we'll learn about some more advanced topics, such as producers, interceptors, and events.
- HornetQ Messaging Developer’s Guide
- Access 2010數據庫基礎與應用項目式教程(第3版)
- PhoneGap Mobile Application Development Cookbook
- C#程序設計基礎:教程、實驗、習題
- 微信小程序入門指南
- 西門子S7-200 SMART PLC編程從入門到實踐
- Unity 2017 Mobile Game Development
- Visual C#.NET Web應用程序設計
- Python從入門到精通
- 寫給青少年的人工智能(Python版·微課視頻版)
- 3D Printing Designs:Octopus Pencil Holder
- Python數據預處理技術與實踐
- Linux Networking Cookbook
- Python Django Web從入門到項目實戰(視頻版)
- Mastering Vim