I have an application scoped managed bean which main purpose is to serve the rest of the application with less dynamic data such as all available languages and a few more things.
I have .war application that I deploy to glassfish. I want to do CDI开发者_如何学Python, so I need to lookup java:comp/BeanManager from my POJO. But it does not work: BeanManager simply not found!
I\'m trying to inject PersistenceContex into POJO using @PersistenceContex annotation, I\'ve read that i need to made that POJO managed to do that. So I inject my POJO class into servlet(so its now ma
I tried to use CDI for my struts action running on glassfish. But java dependency injection does not work for it. It works for JSF but not struts.
I want to use the @ViewScoped开发者_如何学Python - scope in my application for the backing beans of some web pages. Also I use CDI to inject the dependecies into the backing beans.
I\'m working on a web application that is Java EE 5.I may be able to upgrade it to EE 6 at some point, but can\'t at the moment.The web app is running in Tomcat 6.Can I use CDI with it?
I need to inject a ConversationScoped bean into a servlet. i use the standard simple @Inject tag and I invoke the servlet with the cid parameter but when it invokes any method in the injected bean I g
One of the beauties with Java EE 6 is the new dependency injection framework - CDI with the Weld reference implementation - which has prompted us to start migrating internally to JSR-330 in an impleme
Trying my hand at CDI for the first time. I\'m using Glassfish v3. When I deploy my app, I get the following failure:
I want to use logger in my java web application. I\'m using JBossAS 6.0.0.final, cdi (weld), jsf ... etc. Seam solder proposes to use an abstract logger is not tying to a concrete implementation (sl