This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes Glassfish and java:comp/BeanManager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Glassfish and java:comp/BeanManager" Watch "Glassfish and java:comp/BeanManager" New topic
Author

Glassfish and java:comp/BeanManager

Ilya Kaz
Greenhorn

Joined: Feb 14, 2011
Posts: 2
I have .war application that I deploy to glassfish. I want to do CDI, so I need to lookup java:comp/BeanManager from my POJO. But it does not work: BeanManager simply not found!

What is wrong?

Do I need to enable CDI in glassfish? Or it works only in .ear files?
Ilya Kaz
Greenhorn

Joined: Feb 14, 2011
Posts: 2
http://download.oracle.com/javaee/6/tutorial/doc/gjbnz.html

solved
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Glassfish and java:comp/BeanManager
 
jQuery in Action, 3rd edition