This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Overview

Other MyFaces Extensions

Community

Development

Sponsorship

Unknown macro: {iframe}

Your browser does not support iframes

Child pages
  • JavaEE5 Support

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Add Apache OpenWebBeans to the project (see the documentation of the project).

Code Block
xml
xml
titleJava-EE5 module for OpenWebBeansxml
<dependency>
    <groupId>org.apache.myfaces.extensions.cdi.modules.jee5-support</groupId>
    <artifactId>myfaces-extcdi-jee5-openwebbeans-support</artifactId>
    <version>${myfaces.codi.version}</version>
    <scope>runtime</scope>
</dependency>

Furthermore, you have to replace the WebBeans listener in the web.xml with the listener provided by MyFaces CODI.

Code Block
xml
xml
titleReplacement for the web.xmlxml
<listener>
    <listener-class>org.apache.myfaces.extensions.cdi.openwebbeans.startup.WebBeansAwareConfigurationListener</listener-class>
</listener>

...

Add Weld to the project (see the documentation of the project).

Code Block
xml
xml
titleJava-EE5 module for Weldxml
<dependency>
    <groupId>org.apache.myfaces.extensions.cdi.modules.jee5-support</groupId>
    <artifactId>myfaces-extcdi-jee5-weld-support</artifactId>
    <version>${myfaces.codi.version}</version>
    <scope>runtime</scope>
</dependency>

Furthermore, you have to replace the Weld listener in the web.xml with the listener provided by MyFaces CODI.

Code Block
xml
xml
titleReplacement for the web.xmlxml
<listener>
    <listener-class>org.apache.myfaces.extensions.cdi.weld.startup.WeldAwareConfigurationListener</listener-class>
</listener>