cdi
Injecting Resources Into UIComponent (aka does CDI work here?)
I am writing a (composite) component that needs to interact with my DAO.Here is how the Java part is declared:[详细]
2023-03-30 19:25 分类:问答Basic question about backing beans for Composite Components
I can\'t find any guidance on this question.I am writing a composite component that needs its own backing bean bec开发者_开发知识库ause it interacts with a data base.[详细]
2023-03-30 09:53 分类:问答Java CDI & Observer issue - When the listener method is invoked, dependencies are null
Issue: When the listen method is invoked on ContentViewLog, the log and entity manager are null. BlogDetailBean(A bean used on a JSF2 page)[详细]
2023-03-30 01:10 分类:问答CDI Injection Outside Filters and Servlets in a Servlet 3.0 Container
I finally decided to have a look at Weld in Tomcat. When I deploy my app I see in the log: \"Tomcat 7 detected, CDI injection will be available in Servlets and Filters\"[详细]
2023-03-29 18:19 分类:问答Any one had Logging interceptor for JSF 2.0 Managed bean working
I have a managed bean with lots of methods. I want to log the entry and exit times of each method invoc开发者_JAVA技巧ation . I thought of reusing the Interceptor that works successfully with my EJB\'[详细]
2023-03-29 09:08 分类:问答Standalone version of class AnnotationLiteral?
The CDI (Context Dependency Injection) Framework contains the awesome class javax.enterprise.util.AnnotationLit开发者_Python百科eral that makes it very easy to create an instance of an Annotation (esp[详细]
2023-03-29 01:02 分类:问答How Do I Use @ConversationScoped
I am writing a JSF 2.0 application, and I want to use CDI annotations instead of the \"equivalent\" JSF annotations.In other words, @Model or @Named instead of @ManagedBean, and @Inject instead of @Ma[详细]
2023-03-28 15:55 分类:问答resteasy-cdi - getting "Duplicate context initialization parameter resteasy.injector.factory" error
I\'m needing CDI functionality on a rest application in which I\'m using RESTEASY. So I followed the manual\'s instruction to setup resteasy-cdi module on my app, that runs on JBoss AS7.[详细]
2023-03-28 10:10 分类:问答Distinguish between Model and Controller in JSF
I want to clearly understand the proper way of developing a JSF application. In our project, the model and controller is the same class, represented by CDI bean. I\'m sort of confused whether it\'s a[详细]
2023-03-28 05:46 分类:问答An alternative web framework (instead of JSF) to use with CDI
Is there other Java Web frameworks other than JSF which work well with CDI? \"Work well\" could be simply to have a template system which can access @Named beans.[详细]
2023-03-27 00:47 分类:问答