The file beans.xml for CDI projects

To enable CDI in your project, you need (among other things) to place a file called beans.xml in your WEB-INF folder. It may remain mostly empty, until you start using some of the more advanced CDI features, e.g. interceptors or decorators would be defined in this file.

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""