The main features of CDI

CDI is quite a complete specification with a lot of features compared with our small container. However, the CDI works in a manner similar to the container, except that it scans the classloader application to find beans at startup instead of requiring a manual registration.

To understand how the CDI can impact the performance of your application, we will detail a few major features of the CDI, explaining the work the server has to do to provide them.

Get Java EE 8 High Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.