Steps -
- Right click on your project.
- Go to
New, and then select Others. - In the list,
Categoriesselect Contexts and Dependency Injection. - Then on the right side of the list,
File Typesselectbeans.xml (CDI Configuration File) - Click Next and Finish, leaving the file name in defualt (i.e. beans).
. beans.xml, , Java EE, , CDI beans.
-
" ", , beans.xml WEB-INF . beans.xml CDI , Java EE, , CDI beans.
.