I am using Weld to observe events. I thought there was a way to specify if the observer was asynchronous or not, but I am not fi开发者_如何学Pythonnding that annotation or documentation.
JSR-330 dependency injection can be applied to both Java SE and Java EE environments, while JSR-299 is titled \"Contexts and Dependency Injection for the Java EE platform\".
i\'m setting up a JSF2 project on tomcat 6.0.29 with weld. also using jrebel - not sure if that makes a difference.
I am having a problem with weld-wicket. When @Inject-ing an EJB that inherits from an abstract class, if I attempt to call a method from the abstract clas开发者_如何学Pythons I get an ejb-ref error.
I am migrating my Seam 2 powered application to CDI and one of the things that is critical for me to retain is the error handling.In Seam 2, I simply replaced the default exception handler with my own
I would like to have a central weld container that holds all my services and so on. This container would however be wrapped by a second con开发者_C百科tainer which contains local settings. The goal is
Because of CDI (开发者_开发技巧and its implementation Weld), every POJO in JEE6 can be annotated with @Named, which makes the POJO accessible to the view.
I am trying to replace standard logger initialization by some injection 1-st. I was trying to use weld weld loggingin stateless bean/webservices
I\'ve looked at JBoss\' Weld Reference Implementation of JSR-299 Contexts and Dependency In开发者_高级运维jection, and I wanted to know how others CDI implementations compare to each other.