9.3.3 Notes on development

Note the following when you use the CDI to develop applications:

Handling constructors with applications that use the CDI

You cannot specify arguments for the constructors of the EJB Bean class, Servlet class, Listener class, and Filter class that use the CDI annotations.