9.3.1 CDI-target applications

The CDI-target applications are the applications containing the J2EE modules that have the beans.xml files. The following table describes the storage destinations of the beans.xml files for each J2EE module type.

Table 9-2 Storage destinations of the beans.xml files for each J2EE module type

Types of J2EE modulesStorage destination of beans.xml
EJB-JARMETA-INF/beans.xml
Library JARMETA-INF/beans.xml
WARWEB-INF/beans.xml

The CDI-target J2EE modules are not managed by the CDI if the beans.xml files are not stored. Make sure you store the beans.xml files at the storage destinations described in the table.

Organization of this subsection
(1) The following table describes the versions of the components that can be set as the CDI targets and the objects that can use the CDI.

(1) The following table describes the versions of the components that can be set as the CDI targets and the objects that can use the CDI.

Table 9-3 Versions of the components that can be set as the CDI targets and the objects that can use the CDI

Component typesSupported component versionsUsable objects
EJBEJB 3.1
(The ejb-jar.xml version is 3.1)
Session Bean
ServletServlet 3.0
(The web.xml version is 3.0)
  • Servlet
  • Listener
  • Filter
JSPJSP 2.1
(The web.xml version is 3.0)
Objects supporting the EL syntax
JSFJSF 2.1
(The web.xml version is 3.0, and JSF framework supported by Application Server)
Objects supporting the EL syntax