uCosminexus Application Server, Common Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

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 modules Storage destination of beans.xml
EJB-JAR META-INF/beans.xml
Library JAR META-INF/beans.xml
WAR WEB-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 types Supported component versions Usable objects
EJB EJB 3.1
(The ejb-jar.xml version is 3.1)
Session Bean
Servlet Servlet 3.0
(The web.xml version is 3.0)

  • Servlet
  • Listener
  • Filter
JSP JSP 2.1
(The web.xml version is 3.0)
Objects supporting the EL syntax
JSF JSF 2.1
(The web.xml version is 3.0, and JSF framework supported by Application Server)
Objects supporting the EL syntax