Setting context and dependencies in Netbeans (after creating the project)

I am developing a J2EE project using NetBeans. When I created the project, I did not check the "Include contexts and dependency" option.

Is it possible to change the parameter after creating the project? Where?

Thank!

+5
source share
1 answer

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.

.

+8

All Articles