9.8 Notes on using the CDI

The notes on using the CDI are as follows:

CDI extension interface (Portable Extension API)

The CDI extension interface (Portable Extension API) cannot be used with Application Server.

Notes on using the CDI with Application Server (differences from the standard specifications)
Using the reload functionality with the applications that use the CDI

The CDI applications are reloaded for each application. The CDI applications cannot be reloaded for each WAR and JSP. Also, if Facelets is used with the JSF, the CDI applications cannot be reloaded.

Notes on the application starting performance

If the number of JAR files of beans.xml included in the CDI applications increases, the deployment time increases greatly, compared to the increment in the JAR files.

Notes on using Managed Beans

The Managed Bean instances for which the javax.enterprise.context SessionScoped annotation is specified are not stored in the explicitly-managed heap.