SeamFramework.orgCommunity Documentation

Chapter 20. Development Mode

20.1. Enablement
20.2. Tools
20.2.1. Probe

Weld comes with a special mode for application development. When the Development mode is enabled, certain built-in tools, which facilitate the development of CDI applications, are available.

To enable the Development Mode set the Servlet initialization parameter org.jboss.weld.development to true.


<web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">

    <context-param>
        <param-name>org.jboss.weld.development</param-name>
        <param-value>true</param-value>
    </context-param>

</web-app>