wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Glassfish and java:comp/BeanManager
 
Similar Threads
CDI or ManagedBean which is best to work with JSF?
bad link
Generic / wildcard question
Do you recommend the integration with other frameworks?
CDI Question and jar