I have a .war application that I use for glass fish. I want to make a CDI, so I need to look for java: comp / BeanManager from my POJO. But this does not work: BeanManager just was not found!
What's wrong?
Do I need to include CDI in a glass fish? Or does it only work in .ear files?
thank.
source
share